X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/56da13fcc88a7d19d58451603c8632818deb7307..1bc8da5f3a3bfd6c3f0ba374f12d489d13831460:/cookbooks/imagery/templates/default/nginx_imagery.conf.erb?ds=inline diff --git a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb index 019b0a91b..42ae9ac01 100644 --- a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb @@ -8,10 +8,9 @@ server { } <% if @uses_tiler -%> -upstream tiler_backend { - server 127.0.0.1:8080 max_fails=0; - - keepalive 32; +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 {