]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/gps-tile/templates/default/apache.erb
Use a connection URI for postgres monitoring
[chef.git] / cookbooks / gps-tile / templates / default / apache.erb
index 064d5628449b8b9987951bdf6feb22f1641c2a8c..adc7a061d049c3d1bb82283aa293359677ec94dd 100644 (file)
@@ -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]