34 lines
722 B
INI
34 lines
722 B
INI
global
|
|
log stdout format raw local0
|
|
maxconn 2048
|
|
hard-stop-after 8s
|
|
|
|
defaults
|
|
log global
|
|
mode http
|
|
option httplog
|
|
timeout connect 1s
|
|
timeout client 10s
|
|
timeout server 10s
|
|
timeout http-request 5s
|
|
retries 1
|
|
option redispatch
|
|
option httpchk GET /health/ready
|
|
http-check expect status 200
|
|
|
|
resolvers docker
|
|
nameserver embedded 127.0.0.11:53
|
|
resolve_retries 3
|
|
timeout resolve 1s
|
|
timeout retry 1s
|
|
hold valid 2s
|
|
hold obsolete 2s
|
|
|
|
frontend public_api
|
|
bind :8080
|
|
default_backend messenger_api
|
|
|
|
backend messenger_api
|
|
balance roundrobin
|
|
server-template api 1-16 api:8080 check inter 1s fall 2 rise 2 resolvers docker init-addr libc,none
|