我的nginx设置是这样的:
server {
listen 80;
server_name websitenamne.in www.websitename.in;
root /root/path;
location /static {
}
location / {
proxy_pass http://localhost:8003/;
proxy_connect_timeout 3600;
send_timeout 3600;
proxy_read_timeout 3600;
include /etc/nginx/proxy_params;
}
# what to serve if upstream is not available or crashes
error_page 500 502 503 504 /static/50x.html;
}
在上面的位置/,我添加了以下内容:
proxy_connect_timeout 3600;
send_timeout 3600;
proxy_read_timeout 3600;
但仍然nginx发送网关超时错误。我该如何解决这个问题?