projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
985df71
)
Exempt /mod_tile from redirection on tile servers
author
Tom Hughes
<tom@compton.nu>
Sun, 4 Mar 2018 16:32:50 +0000
(16:32 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 4 Mar 2018 16:32:50 +0000
(16:32 +0000)
cookbooks/tile/templates/default/apache.erb
patch
|
blob
|
history
diff --git
a/cookbooks/tile/templates/default/apache.erb
b/cookbooks/tile/templates/default/apache.erb
index f2e52cfe68745dab9859e5f812d2798ea38d41dd..c76793bd9963167a9becf367100f4fe5749f8fe0 100644
(file)
--- 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$
# Redirect to https
RewriteCond %{REQUEST_URI} !^/server-status$
+ RewriteCond %{REQUEST_URI} !^/mod_tile$
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R=permanent,L]
</VirtualHost>
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R=permanent,L]
</VirtualHost>