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