From b69abd54c4cd3e37231a25ca24d8be756b46e2d7 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 19 Dec 2018 15:55:28 +0000 Subject: [PATCH] imagery: do not fail socket upstreams --- cookbooks/imagery/templates/default/nginx_imagery.conf.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb index 20e8d5642..b9cc60921 100644 --- a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb @@ -8,8 +8,9 @@ server { } upstream <%= @name %>_fastcgi { - server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>.socket"; - server "unix:/var/run/mapserver-fastcgi/layer-<%= @name %>.socket"; + 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 { -- 2.39.5