X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/80e13a7d8d736da2cf26cf044116b015c00c9b33..6270f0b685e414b82dd311ad99fe4df0c3e2bfd6:/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]