记一次迁移服务器后nginx报502和504导致二级域名无法访问的排解过程

本文图文讲解并记录一次迁移服务器后nginx报502和504导致二级域名无法访问的排解过程。

502 Bad Gateway或504 Gateway Time-out还一下日志:

[error] 7#7: *4 connect() failed (110: Connection timed out) while connecting to upstream, client: xx.xx.xx.xx, server: xxx.xubingtao.cn, request: "GET /xxxx/index.html HTTP/1.1", upstream: "http://172.18.0.x:90xxx/xxx/index.html", host: "xxx.xubingtao.cn"

详情访问我个人网站:https://www.xubingtao.cn/?p=2479

关注我的公众号每天为你发布各类有用信息。

猜你喜欢

转载自blog.csdn.net/xubingtao/article/details/110440030