forked from mtusi2026/mtusi2026lab4
lab4 - оценка 4
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
global
|
||||
log stdout format raw local0 info
|
||||
maxconn 4096
|
||||
|
||||
defaults
|
||||
mode http
|
||||
timeout connect 5s
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
timeout check 5s
|
||||
option httplog
|
||||
option dontlognull
|
||||
|
||||
resolvers docker
|
||||
nameserver dns1 127.0.0.11:53
|
||||
hold valid 5s
|
||||
hold nx 5s
|
||||
hold refused 5s
|
||||
hold timeout 5s
|
||||
|
||||
frontend fe_main
|
||||
bind *:8080
|
||||
default_backend be_api
|
||||
|
||||
backend be_api
|
||||
balance roundrobin
|
||||
option httpchk GET /health/ready
|
||||
http-check expect status 200
|
||||
default-server inter 2s fall 3 rise 2 init-addr libc,none resolvers docker
|
||||
server-template api 2 api:8080 check
|
||||
Reference in New Issue
Block a user