0
我nginx的設置是這樣的:Nginx的網關超時後1分鐘20秒
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的發送網關超時錯誤。我該如何解決這個問題?