X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/f50bf1e0e5e650b93d4714b7e2389e662d0dc3a4..b921aad0b11b24e9c98ae1378630e7c5797de24d:/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 {