X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6f7f7b63e84057aab081c3ab41b14599f4e67522..d45bc53eef2534330416e79e547c1b5f3dca60ff:/cookbooks/imagery/templates/default/nginx_imagery.conf.erb diff --git a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb index 9d21be6b0..e5d3dac56 100644 --- a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb @@ -8,14 +8,14 @@ server { } upstream <%= @name %>_fastcgi { - server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>.socket" max_fails=0; - server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>.socket" max_fails=0; - server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>.socket" max_fails=0; - server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>.socket" max_fails=0; - server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>.socket" max_fails=0; - server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>.socket" max_fails=0; - server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>.socket" max_fails=0; - server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>.socket" max_fails=0; + server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>-0.socket" max_fails=0; + server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>-1.socket" max_fails=0; + server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>-2.socket" max_fails=0; + server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>-3.socket" max_fails=0; + server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>-4.socket" max_fails=0; + server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>-5.socket" max_fails=0; + server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>-6.socket" max_fails=0; + server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>-7.socket" max_fails=0; least_conn; }