Nginx: 504 오류Bad Gateway 의 해결 방법
1606 단어 질문
2017/05/31 19:03:13 [error] 22358#0: *1upstream timed out (110: Connection timed out) while reading response headerfrom upstream, client: 223.223.204.244, server: localhost, request: "GET/platform/totalData HTTP/1.1", upstream:"http://10.163.171.188:94/platform/totalData", host:"rep.jinrongboshi.com", referrer: "http://rep.jinrongboshi.com/page/left.jsp"
문제 해결:
location / {
...
proxy_read_timeout 150; #
...
}
nginx. conf 의 location 에 proxy read timeout 150 을 추가 합 니 다.