выполненная лаб3

This commit is contained in:
2026-10-23 18:29:24 +03:00
parent 0ab3a341aa
commit f026c27938
57 changed files with 32952 additions and 33 deletions
+28
View File
@@ -0,0 +1,28 @@
global
log stdout format raw local0
maxconn 1024
defaults
log global
mode http
timeout connect 500ms
timeout client 6s
timeout server 5s
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 replicas
backend replicas
balance roundrobin
option http-server-close
option httpchk GET /health/ready
http-check expect status 200
default-server inter 1s fastinter 500ms downinter 1s fall 2 rise 1 resolvers docker init-addr none
server-template api 8 api:8080 check