ЛР 3 - БВТ2304 - Гончаревская.Е.А. - на 3

This commit is contained in:
Katarhi
2026-11-02 19:12:26 +03:00
parent 0ab3a341aa
commit 486afb97bc
10 changed files with 1102 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
global
log stdout format raw local0
maxconn 2048
defaults
log global
mode http
option httplog
timeout connect 2s
timeout client 30s
timeout server 30s
timeout http-request 10s
resolvers docker
nameserver dns 127.0.0.11:53
resolve_retries 3
timeout resolve 1s
timeout retry 1s
hold valid 2s
hold nx 2s
frontend public_api
bind :8080
default_backend api_replicas
backend api_replicas
balance roundrobin
option httpchk GET /health/ready
http-check expect status 200
default-server inter 1s fall 2 rise 1 slowstart 2s
server-template api 2 api:8080 check resolvers docker init-addr libc,none