forked from mtusi2026/mtusi2026lab4
feat: база из лабораторной 3 перенесена в лабу 4
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
global
|
||||
log stdout format raw local0
|
||||
maxconn 4096
|
||||
|
||||
defaults
|
||||
mode http
|
||||
log global
|
||||
option httplog
|
||||
timeout connect 5s
|
||||
timeout client 30s
|
||||
timeout server 30s
|
||||
retries 2
|
||||
|
||||
frontend http_front
|
||||
bind *:8080
|
||||
default_backend api_back
|
||||
|
||||
backend api_back
|
||||
balance roundrobin
|
||||
option httpchk GET /health
|
||||
http-check expect status 200
|
||||
default-server inter 3s fall 3 rise 2
|
||||
server api1 api1:8080 check
|
||||
server api2 api2:8080 check
|
||||
Reference in New Issue
Block a user