2017/10/10 10:22:26 [crit] 1289#0: *1 connect() to 127.0.0.1:8080 failed (13: Permission denied) while connecting to upstream, client: 81.x.x.x, server: _, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/", host: "mydomain.com"
为什么这不起作用?
我可以通过curl访问127.0.0.1:8080,但是nginx只显示502错误
答案 0 :(得分:0)
通过禁用首先不应启用的SELinux来解决此问题。