Skip to content
Snippets Groups Projects
Commit d217b49a authored by Pierre Ozoux's avatar Pierre Ozoux Committed by GitHub
Browse files

keepalive ftw!

parent 6a09ed22
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ defaults
mode http
option forwardfor
option httpclose
option http-server-close
option httplog
option dontlognull
retries 3
......@@ -39,6 +40,7 @@ mode http
{{ range $host, $containers := groupByMulti $ "Env.VIRTUAL_HOST" "," }}
backend {{ $host }}
option http-server-close
cookie SERVERID insert nocache indirect
{{ range $container := $containers }}
server Server {{ $container.IP }}:80 cookie Server
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment