X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/7b2a06ac356bfd11ef6e5cbf714aae47f553dc16..1952990836d6687ed4030bb95ca5f9e535eaf61f:/cookbooks/wordpress/templates/default/apache.erb diff --git a/cookbooks/wordpress/templates/default/apache.erb b/cookbooks/wordpress/templates/default/apache.erb index 200c50089..b62705100 100644 --- a/cookbooks/wordpress/templates/default/apache.erb +++ b/cookbooks/wordpress/templates/default/apache.erb @@ -12,6 +12,7 @@ ErrorLog /var/log/apache2/<%= @name %>-error.log <% if @ssl_enabled -%> + RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/ RedirectPermanent / https://<%= @name %>/