why is nginx timeout-ing?

Solution 1:

There is one timeout that is missing

send_timeout 300s;