X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/80e13a7d8d736da2cf26cf044116b015c00c9b33..b49e209b3e957e9c02139c06f0dfecac05415119:/cookbooks/gps-tile/templates/default/apache.erb?ds=inline 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]