3๐
I know OP has probably long moved on from this question, but the timeout settings should be in the server
or http
block not in the location
block. Example:
server {
proxy_connect_timeout 3600s;
send_timeout 3600s;
proxy_read_timeout 3600s;
location / {
proxy_pass http://localhost:8003/;
include /etc/nginx/proxy_params;
}
}
๐คSam
0๐
IN CASE thereโs a NAT gateway between your NGINX instance & the destination (proxy_pass), this answer may help.
๐คsnowpeak
Source:stackexchange.com