X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2b742aa96a7c7e1256ad9a7c8e9ee698130b5226..f351c6a2475050bcadfce28bdbe303eda9654059:/cookbooks/kibana/templates/default/apache.erb 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 %>/