Nginx proxy timeout while uploading big files
Solution 1:
Probably nginx upstream timeout needs to be increased. Try adding below to your upstream conf.
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
Solution 2:
Probably you need to change the limit at
client_max_body_size 5M;
to something like
client_max_body_size 10M;