feat: lab3 init

This commit is contained in:
yurtaev.va
2026-10-23 18:54:43 +03:00
parent 0ab3a341aa
commit 2e23dbe095
16 changed files with 886 additions and 12 deletions
+21
View File
@@ -0,0 +1,21 @@
events { worker_connections 1024; }
http {
access_log off;
resolver 127.0.0.11 valid=1s ipv6=off;
server {
listen 8080;
client_max_body_size 16k;
proxy_connect_timeout 1s;
proxy_read_timeout 5s;
proxy_send_timeout 5s;
proxy_next_upstream error timeout http_502 http_503;
proxy_next_upstream_tries 2;
location / {
set $api http://api:8080;
proxy_pass $api;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Request-Id $request_id;
}
}
}