]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nominatim/templates/default/apache.erb
Use server specific SSL certificates for nominatim
[chef.git] / cookbooks / nominatim / templates / default / apache.erb
index 9d29290e817f050441ecaffe10469a50e9588457..123c758f5f085f7226f182f632385da62ed28577 100644 (file)
@@ -13,8 +13,8 @@
     # Enable SSL
     SSLEngine on
     SSLProxyEngine on
-    SSLCertificateFile /etc/ssl/certs/nominatim.openstreetmap.org.pem
-    SSLCertificateKeyFile /etc/ssl/private/nominatim.openstreetmap.org.key
+    SSLCertificateFile /etc/ssl/certs/<%= node[:fqdn] %>.pem
+    SSLCertificateKeyFile /etc/ssl/private/<%= node[:fqdn] %>.key
 
     # Remove Proxy request header to mitigate https://httpoxy.org/
     RequestHeader unset Proxy early