Implement lab5 durable image processing

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-11-16 21:04:44 +03:00
co-authored by Copilot
parent 276dbdad8a
commit 5bf28f6160
20 changed files with 1715 additions and 30 deletions
+16
View File
@@ -0,0 +1,16 @@
events {}
http {
upstream api_backend {
server api1:8080 max_fails=2 fail_timeout=2s;
server api2:8080 max_fails=2 fail_timeout=2s;
}
server {
listen 8080;
location / {
proxy_pass http://api_backend;
proxy_next_upstream error timeout http_502 http_503 http_504;
proxy_connect_timeout 1s;
proxy_read_timeout 10s;
}
}
}