]> git.openstreetmap.org Git - chef.git/commitdiff
Exempt /mod_tile from redirection on tile servers
authorTom Hughes <tom@compton.nu>
Sun, 4 Mar 2018 16:32:50 +0000 (16:32 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 4 Mar 2018 16:32:50 +0000 (16:32 +0000)
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>