]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/kibana/templates/default/apache.erb
Allow prometheus collectors write access to /var/log
[chef.git] / cookbooks / kibana / templates / default / apache.erb
index b9f50de53f3e81e18b1c0d4ef8eb82a7725ffea1..0691d8a315cfdc13ef1ac9984e4512a8159dfc6b 100644 (file)
@@ -7,6 +7,7 @@
    CustomLog /var/log/apache2/<%= @site %>-access.log combined
    ErrorLog /var/log/apache2/<%= @site %>-error.log
 
+   RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
    Redirect permanent / https://<%= @site %>/
 </VirtualHost>
 
@@ -19,6 +20,8 @@
 
    SSLEngine on
    SSLProxyEngine on
+   SSLCertificateFile /etc/ssl/certs/<%= @site %>.pem
+   SSLCertificateKeyFile /etc/ssl/private/<%= @site %>.key
 
    ProxyPass / http://127.0.0.1:<%= @port %>/