nginx proxy_pass 502 response :: 2020/09/08 21:49

nginx를 reverse proxy로 사용하는 경우, 502 Bad Gateway Response가 발생하는 경우가 있다.


proxy_pass 설정이 제대로 되어 있고, proxy_set_header를 맞게 설정했을 경우는 SELinux 설정 문제이다.

다음과 같이 설정하여 문제를 해결한다.

# setsebool -P httpd_can_network_connect true

Trackback Address :: http://www.yongbi.net/trackback/873
[로그인][오픈아이디란?]
오픈아이디로만 댓글을 남길 수 있습니다
Name
Password
Homepage

Secret
< PREV |  1  |  ...  17  |  18  |  19  |  20  |  21  |  22  |  23  |  24  |  25  |  ...  648  |  NEXT >