]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/templates/default/apache.erb
tilecache: 404 tiles we do not support
[chef.git] / cookbooks / tile / templates / default / apache.erb
index ef4ee9f147e512665da88be25b7207055724e4ed..c76793bd9963167a9becf367100f4fe5749f8fe0 100644 (file)
@@ -92,6 +92,8 @@
   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$
+  RewriteCond %{REQUEST_URI} !^/mod_tile$
   RewriteRule (.*) https://%{SERVER_NAME}/$1 [R=permanent,L]
 </VirtualHost>