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