forked from mtusi2026/mtusi2026lab4
chore(solution): port lab3 sources
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
global
|
||||
log stdout format raw local0 info
|
||||
maxconn 2000
|
||||
|
||||
defaults
|
||||
mode http
|
||||
log global
|
||||
option httplog
|
||||
timeout connect 2s
|
||||
timeout client 30s
|
||||
timeout server 20s
|
||||
timeout http-request 10s
|
||||
timeout check 1s
|
||||
retries 3
|
||||
option redispatch
|
||||
|
||||
resolvers dns
|
||||
parse-resolv-conf
|
||||
hold valid 1s
|
||||
|
||||
frontend public
|
||||
bind :8080
|
||||
default_backend api
|
||||
|
||||
backend api
|
||||
balance roundrobin
|
||||
option httpchk GET /health/ready
|
||||
http-check expect status 200
|
||||
default-server check inter 1s fall 2 rise 2 resolvers dns init-addr none
|
||||
server-template api 4 api:8080
|
||||
Reference in New Issue
Block a user