From 44d47ed890517c96d524f093039489b6655ebb18 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 4 Jun 2018 09:14:43 +0100 Subject: [PATCH] Don't try and fallback to alternate caches --- cookbooks/tilecache/templates/default/nginx_tile.conf.erb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cookbooks/tilecache/templates/default/nginx_tile.conf.erb b/cookbooks/tilecache/templates/default/nginx_tile.conf.erb index ce2b23b9a..f5ae62618 100644 --- 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; } -- 2.43.2