lab4: RustFS integration, security, failover and track 2 evidence

This commit is contained in:
2026-11-10 10:40:13 +03:00
parent ec540a1a72
commit 4583ff3628
14 changed files with 967 additions and 28 deletions
+20
View File
@@ -0,0 +1,20 @@
events { worker_connections 1024; }
http {
upstream api_backend {
server api:8080 max_fails=3 fail_timeout=5s;
}
server {
listen 8080;
location / {
proxy_pass http://api_backend;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_connect_timeout 2s;
proxy_read_timeout 10s;
client_max_body_size 15m; # Разрешаем загрузку файлов до 15MB
}
}
}