Livrare LOT 1 - Didi

This commit is contained in:
Dezvoltari Evotech 2026-06-25 14:13:25 -07:00
commit 5380c3fc63
990 changed files with 133308 additions and 0 deletions

View file

@ -0,0 +1,41 @@
upstream video_analysis_api {
server didiAI-video-api:8011;
keepalive 32;
}
server {
listen 80;
server_name _;
proxy_connect_timeout ${NGINX_CONNECT_TIMEOUT};
proxy_send_timeout ${NGINX_SEND_TIMEOUT};
proxy_read_timeout ${NGINX_READ_TIMEOUT};
# Larger uploads (videos)
client_max_body_size 500M;
location /health {
access_log off;
proxy_pass http://video_analysis_api/health;
proxy_http_version 1.1;
proxy_set_header Host $host;
}
location / {
proxy_pass http://video_analysis_api;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# SSE-friendly (safe even if you don't stream yet)
proxy_set_header Connection '';
proxy_set_header X-Accel-Buffering no;
proxy_buffering off;
proxy_cache off;
chunked_transfer_encoding off;
proxy_set_header X-Request-ID $request_id;
}
}