imagery: try harder to find a working fastcgi socket
authorGrant Slater <git@firefishy.com>
Fri, 21 Dec 2018 13:14:45 +0000 (13:14 +0000)
committerGrant Slater <git@firefishy.com>
Fri, 21 Dec 2018 13:14:45 +0000 (13:14 +0000)
cookbooks/imagery/templates/default/nginx_imagery_layer_fragment.conf.erb

index 5b42fe9..856ec67 100644 (file)
@@ -27,7 +27,7 @@ location ~* "^/layer/<%= @layer %>/(\d+)/(\d+)/(\d+)\.(png|jpg|jpeg)$" {
   fastcgi_catch_stderr "Image handling error";
 
   fastcgi_next_upstream error timeout invalid_header http_500 http_503;
-  fastcgi_next_upstream_tries 3;
+  fastcgi_next_upstream_tries 8;
 
   # Do not GZIP tiles
   gzip off;