X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/78b8ee8ababdae0ca588c45be33a607fcc94d141..44166d054d076ce26743c466ce002d7bc2e3c4dd:/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 126c2d117..03a439343 100644 --- a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb @@ -10,10 +10,12 @@ server { <% if @uses_tiler -%> upstream <%= @name %>_tiler_backend { server unix:/srv/imagery/sockets/titiler.sock max_fails=0; + server unix:/srv/./imagery/sockets/titiler.sock max_fails=0; } <% else -%> 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; # Use default round-robin to distribute requests, rather than pick "fast" but maybe faulty. # Do not use keepalive