X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f50bf1e0e5e650b93d4714b7e2389e662d0dc3a4..1bc8da5f3a3bfd6c3f0ba374f12d489d13831460:/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 ea9730a95..42ae9ac01 100644 --- a/cookbooks/imagery/templates/default/nginx_imagery.conf.erb +++ b/cookbooks/imagery/templates/default/nginx_imagery.conf.erb @@ -9,9 +9,8 @@ server { <% if @uses_tiler -%> upstream <%= @name %>_tiler_backend { - server 127.0.0.1:8080 max_fails=0; - - keepalive 32; + server unix:/srv/imagery/sockets/titiler.sock max_fails=0; + server unix:/srv/./imagery/sockets/titiler.sock max_fails=0; } <% else -%> upstream <%= @name %>_fastcgi {