forked from mtusi2026/mtusi2026lab3
Исправить балансировку и миграции лабы 3
This commit is contained in:
@@ -8,8 +8,8 @@ http {
|
||||
upstream messenger_api {
|
||||
# Passive health check: a backend failing 1 probe is removed for 3s,
|
||||
# which keeps failover detection well under the 10s budget.
|
||||
server api1:8080 max_fails=1 fail_timeout=3s;
|
||||
server api2:8080 max_fails=1 fail_timeout=3s;
|
||||
server API1_ADDRESS max_fails=1 fail_timeout=3s;
|
||||
server API2_ADDRESS max_fails=1 fail_timeout=3s;
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
Reference in New Issue
Block a user