Исправить балансировку и миграции лабы 3

This commit is contained in:
2026-11-18 17:44:53 +03:00
parent 2f1cf3afac
commit e51dc20fce
6 changed files with 106 additions and 6 deletions
+2 -2
View File
@@ -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 {