completed lab6

This commit is contained in:
2026-11-20 17:52:56 +03:00
parent 470d9d6f1e
commit 06c8c643c3
29 changed files with 1663 additions and 54 deletions
+20
View File
@@ -0,0 +1,20 @@
global
maxconn 1024
defaults
mode http
timeout connect 2s
timeout client 30s
timeout server 30s
resolvers docker
nameserver embedded 127.0.0.11:53
hold valid 2s
frontend http
bind :8080
default_backend api
backend api
balance roundrobin
option httpchk GET /health/ready
http-check expect status 200
default-server inter 2s fall 2 rise 1 resolvers docker init-addr libc,none
server api1 api1:8080 check
server api2 api2:8080 check