]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/nginx_tile_ssl.conf.erb
Remove arcfour (RC4) cipher no longer available in newer OpenSSH
[chef.git] / cookbooks / tilecache / templates / default / nginx_tile_ssl.conf.erb
index 0b587e242bb173357c6c01fbd0e513054a7fabee..63e915fffd284742ff2532f6b343df6febb808df 100644 (file)
@@ -1,11 +1,13 @@
 upstream tile_cache_backend {
     server 127.0.0.1;
     <% @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;
 }