X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/80e13a7d8d736da2cf26cf044116b015c00c9b33..00bc7e2e46dba86663711b6b020d509ca64ed089:/cookbooks/gps-tile/templates/default/apache.erb diff --git a/cookbooks/gps-tile/templates/default/apache.erb b/cookbooks/gps-tile/templates/default/apache.erb index 064d56284..adc7a061d 100644 --- a/cookbooks/gps-tile/templates/default/apache.erb +++ b/cookbooks/gps-tile/templates/default/apache.erb @@ -44,7 +44,7 @@ RewriteEngine On # Redirect for ACME challenge validation - RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/ + RewriteRule ^/\.well-known/acme-challenge/(.*)$ http://acme.openstreetmap.org/.well-known/acme-challenge/$1 [R=permanent,L] # Redirect to https RewriteRule (.*) https://%{SERVER_NAME}/$1 [R=permanent,L]