From: Tom Hughes Date: Sun, 4 Mar 2018 16:32:50 +0000 (+0000) Subject: Exempt /mod_tile from redirection on tile servers X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/9090dc57083219666a07af38d9ba2983a9b8d1f7 Exempt /mod_tile from redirection on tile servers --- diff --git a/cookbooks/tile/templates/default/apache.erb b/cookbooks/tile/templates/default/apache.erb index f2e52cfe6..c76793bd9 100644 --- a/cookbooks/tile/templates/default/apache.erb +++ b/cookbooks/tile/templates/default/apache.erb @@ -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]