1. 程式人生 > >【Nginx502錯誤】-【檢視錯誤日誌,修改系統配置】

【Nginx502錯誤】-【檢視錯誤日誌,修改系統配置】

1.檢視報錯日誌:/var/log/nginx/error.log

報錯資訊:

2018/05/29 16:24:35 [crit] 63586#63586: *5 connect() to 127.0.0.1:8083 failed (13: Permission denied) while connecting to upstream, client: 124.41.214.106, server: api.ahmrzn.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8083/", host: "218.106.89.40:80"

2.百度13: Permission denied ,關閉SeLinux