]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/imagery/templates/default/nginx_imagery.conf.erb
community: Disable maxmind download for now
[chef.git] / cookbooks / imagery / templates / default / nginx_imagery.conf.erb
index 81f82922592cf66eb9bbbe0cfd690b19a4df0f2e..03a439343b57bb7b3dac7bb1855687901f5b5a9d 100644 (file)
@@ -10,12 +10,12 @@ server {
 <% if @uses_tiler -%>
 upstream <%= @name %>_tiler_backend {
     server unix:/srv/imagery/sockets/titiler.sock max_fails=0;
 <% if @uses_tiler -%>
 upstream <%= @name %>_tiler_backend {
     server unix:/srv/imagery/sockets/titiler.sock max_fails=0;
-
-    keepalive 8;
+    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;
 }
 <% 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
 
     # Use default round-robin to distribute requests, rather than pick "fast" but maybe faulty.
     # Do not use keepalive