nginx 代理https 出现504
·
504错误是(网关超时) 服务器作为网关或代理,但是没有及时从上游服务器收到请求。
1、vim nginx/conf/proxy.conf
修改下面是三个参数,默认为60秒
proxy_connect_timeout 180;
proxy_read_timeout 180;
proxy_send_timeout 180;
2、重启nginx
systemctl restart nginx.service
相关阅读https://blog.csdn.net/fdipzone/article/details/79355576
https://blog.csdn.net/super_scan/article/details/41451203
https://blog.csdn.net/weixin_42350212/article/details/81123932
更多推荐
所有评论(0)