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

This commit is contained in:
2026-11-13 00:14:23 +03:00
parent ec540a1a72
commit 18f3986cc6
68 changed files with 5246 additions and 14 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