docs: final lab3 report and failover results

This commit is contained in:
2026-10-30 00:53:40 +03:00
parent 620537e9a9
commit db980c439f
3 changed files with 24 additions and 23 deletions
+3 -2
View File
@@ -5,7 +5,7 @@ events { worker_connections 1024; }
http {
resolver 127.0.0.11 valid=5s;
upstream api_backend {
server api:8080 max_fails=3 fail_timeout=5s;
server api:8080 max_fails=1 fail_timeout=2s;
keepalive 32;
}
@@ -18,7 +18,8 @@ http {
proxy_set_header Connection "";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_connect_timeout 2s;
proxy_connect_timeout 1s;
proxy_next_upstream error timeout http_502 http_503 non_idempotent;
}
}
}