projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f24262b
)
Don't try and fallback to alternate caches
author
Tom Hughes
<tom@compton.nu>
Mon, 4 Jun 2018 08:14:43 +0000
(09:14 +0100)
committer
Tom Hughes
<tom@compton.nu>
Mon, 4 Jun 2018 08:14:43 +0000
(09:14 +0100)
cookbooks/tilecache/templates/default/nginx_tile.conf.erb
patch
|
blob
|
history
diff --git
a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb
b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb
index ce2b23b9ae26bb9998e68342d7acebf15b2c46a6..f5ae62618053c8f8167c19ec1dc2751e872d546a 100644
(file)
--- a/
cookbooks/tilecache/templates/default/nginx_tile.conf.erb
+++ b/
cookbooks/tilecache/templates/default/nginx_tile.conf.erb
@@
-2,14
+2,6
@@
upstream tile_cache_backend {
server 127.0.0.1:8080;
- <% @caches.each do |cache| -%>
- <% if cache[:hostname] != node[:hostname] -%>
- #Server <%= cache[:hostname] %>
- <% cache.ipaddresses(:family => :inet, :role => :external).sort.each do |address| -%>
- server <%= address %> backup;
- <% end -%>
- <% end -%>
- <% end -%>
keepalive 32;
}