]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/templates/default/nginx_imagery.conf.erb
Merge remote-tracking branch 'github/pull/713'
[chef.git] / cookbooks / imagery / templates / default / nginx_imagery.conf.erb
index ea9730a95d2ba3c90012b78c1b6f0f3c8e230bd5..42ae9ac014b3a10b609adec40e0f1504fdb8e0cb 100644 (file)
@@ -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 {