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

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐