<% 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;
+ 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