Exempt /server-status from redirection on tile servers
[chef.git] / cookbooks / tile / templates / default / apache.erb
index ef4ee9f147e512665da88be25b7207055724e4ed..f2e52cfe68745dab9859e5f812d2798ea38d41dd 100644 (file)
@@ -92,6 +92,7 @@
   RewriteRule ^/\.well-known/acme-challenge/(.*)$ http://acme.openstreetmap.org/.well-known/acme-challenge/$1 [R=permanent,L]
 
   # Redirect to https
+  RewriteCond %{REQUEST_URI} !^/server-status$
   RewriteRule (.*) https://%{SERVER_NAME}/$1 [R=permanent,L]
 </VirtualHost>