#502BadGateway
共 3 篇文章
解决 Nginx 报错 111 Connection refused 上游拒绝连接修复
排查 Nginx 代理后端服务返回 502 Bad Gateway 且日志打印 connect() failed (111: Connection refused) while connecting to upstream,排查后端进程与监听端口。
解决 Nginx 报错 502 Bad Gateway: connect() failed (111: Connection refused) 修复
排查 Nginx 反向代理提示 502 Bad Gateway 错误,分析后端进程宕机、本地端口监听失配与 Unix Socket 权限问题。
解决 Nginx 报错 upstream sent too big header 响应头超限修复
排查 Nginx 反代 SSO 单点登录或复杂应用返回 502 且日志报错 upstream sent too big header while reading response header,调优 fastcgi/proxy_buffer_size。


