X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/2fa4b09c609ade8b4c3c2782c22608b8db464784..dbb1b34162ae85517fb4c08d8a3aca02eeb327a6:/cookbooks/blogs/templates/default/apache.erb?ds=inline diff --git a/cookbooks/blogs/templates/default/apache.erb b/cookbooks/blogs/templates/default/apache.erb index 3995ad547..7986de430 100644 --- a/cookbooks/blogs/templates/default/apache.erb +++ b/cookbooks/blogs/templates/default/apache.erb @@ -7,6 +7,7 @@ CustomLog /var/log/apache2/<%= @name %>-access.log combined ErrorLog /var/log/apache2/<%= @name %>-error.log + RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/ Redirect permanent / https://<%= @name %>/ @@ -18,9 +19,10 @@ ErrorLog /var/log/apache2/<%= @name %>-error.log DocumentRoot <%= @directory %> - DirectoryIndex planet.html SSLEngine on + SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem + SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key >