Questions tagged «502»

3
nginx:连接到上游时没有活动的上游
在站点页面之间以及在主页上的某些时间之间切换时显示502错误的网关错误,但对于主页上的第一个请求却没有,只有在另一个页面重定向到它时才显示。它发生在一些javascript文件中 在两个上游php1 php2上配置的负载均衡都是apache服务器。 当我检查错误日志时,我喜欢: no live upstreams while connecting to upstream [error] 27212#0: *314 no live upstreams while connecting to upstream, client: ip_address , server: example.com, request: "GET / HTTP/1.1", upstream: "http://example.com", host: "example.com", referrer: "http://example.com/mypages/" 这是负载平衡服务器配置 upstream example.com { # ip_hash; server php01 max_fails=3 fail_timeout=15s; server php02 max_fails=3 fail_timeout=15s; …
15 nginx  gateway  502 
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.