myesn

myEsn2E9

hi
github

nginx: 504 Gateway Time-out

image

When uploading files through the nginx reverse proxy, it prompts "504 Gateway Time-out".

Solution#

Since I generated the configuration through nginxconfig.io, I only need to modify the default three parameters without adding any new parameters:
image

proxy_connect_timeout              240s;
proxy_send_timeout                 240s;
proxy_read_timeout                 240s;

Alternatively, you can also configure the timeout for four parameters completely according to stackoverflow:

proxy_connect_timeout       240;
proxy_send_timeout          240;
proxy_read_timeout          240;
send_timeout                240;

Reference#

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.