ЛР 5 — БПИ2302 — Щербацевич — на 4

This commit is contained in:
2026-11-20 19:54:38 +03:00
parent 276dbdad8a
commit 1844c21198
88 changed files with 7499 additions and 30 deletions
+39
View File
@@ -0,0 +1,39 @@
global
log stdout format raw local0
maxconn 256
defaults
log global
mode http
option httplog
option dontlognull
option redispatch
timeout connect 3s
timeout client 60s
timeout server 60s
timeout http-request 30s
retries 2
resolvers docker
nameserver dns 127.0.0.11:53
resolve_retries 3
timeout resolve 1s
timeout retry 1s
hold valid 5s
hold other 5s
hold refused 5s
hold nx 5s
hold timeout 5s
hold obsolete 5s
frontend public
bind :8080
default_backend api
backend api
balance roundrobin
option httpchk
http-check send meth GET uri /health/ready ver HTTP/1.1 hdr Host api
http-check expect status 200
default-server inter 1s fall 2 rise 2 resolvers docker init-addr last,libc,none resolve-prefer ipv4
server-template api 8 api:8080 check