Выполнена лабораторная работа 4

This commit is contained in:
2026-11-16 20:06:52 +03:00
parent ec540a1a72
commit 0cd7200b1f
51 changed files with 2133 additions and 38 deletions
+30
View File
@@ -0,0 +1,30 @@
global
maxconn 2048
log stdout format raw local0
hard-stop-after 5s
defaults
mode http
timeout connect 1s
timeout client 40s
timeout server 40s
timeout check 1s
retries 0
resolvers docker
nameserver dns 127.0.0.11:53
resolve_retries 2
timeout resolve 1s
timeout retry 1s
hold valid 1s
hold obsolete 1s
frontend public
bind :8080
default_backend messenger
backend messenger
balance roundrobin
option httpchk GET /health/ready
http-check expect status 200
server-template api 8 api:8080 check inter 1s fall 2 rise 1 resolvers docker init-addr libc,none