forked from mtusi2026/mtusi2026lab4
Лабораторная 4: S3-хранилище и вложения
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
global
|
||||
log stdout format raw local0
|
||||
maxconn 128
|
||||
defaults
|
||||
mode http
|
||||
log global
|
||||
timeout connect 2s
|
||||
timeout client 40s
|
||||
timeout server 40s
|
||||
timeout http-request 10s
|
||||
timeout queue 3s
|
||||
frontend http
|
||||
bind :8080
|
||||
default_backend api
|
||||
backend api
|
||||
balance roundrobin
|
||||
option httpchk GET /health/ready
|
||||
http-check expect status 200
|
||||
retries 0
|
||||
server api1 api1:8080 check inter 1s fall 2 rise 1
|
||||
server api2 api2:8080 check inter 1s fall 2 rise 1
|
||||
Reference in New Issue
Block a user