X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2b742aa96a7c7e1256ad9a7c8e9ee698130b5226..1bc290ecce828f4a28d096c383815d2aa9199253:/cookbooks/kibana/templates/default/apache.erb?ds=inline diff --git a/cookbooks/kibana/templates/default/apache.erb b/cookbooks/kibana/templates/default/apache.erb index b9f50de53..0691d8a31 100644 --- a/cookbooks/kibana/templates/default/apache.erb +++ b/cookbooks/kibana/templates/default/apache.erb @@ -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 %>/ @@ -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 %>/