ЛР 3 — БПИ2304 — Кирюпина — на 3

This commit is contained in:
SashaKirupina
2026-11-12 18:27:32 +03:00
parent 0ab3a341aa
commit 4b8abdf073
36 changed files with 1782 additions and 28 deletions
+36
View File
@@ -0,0 +1,36 @@
global
log stdout format raw local0
defaults
mode http
log global
timeout connect 1s
timeout client 15s
timeout server 15s
timeout check 1s
retries 0
resolvers docker
nameserver dns 127.0.0.11:53
resolve_retries 3
timeout resolve 1s
timeout retry 1s
hold valid 1s
hold nx 1s
hold timeout 1s
hold refused 1s
hold other 1s
hold obsolete 1s
frontend public
bind :8080
default_backend messenger
backend messenger
balance roundrobin
option httpchk
http-check send meth GET uri /health/ready ver HTTP/1.1 hdr Host localhost
http-check expect status 200
default-server check inter 1s fall 2 rise 1 resolvers docker init-addr last,libc,none
server api1 api1:8080
server api2 api2:8080