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

2020/09/08 21:49 2020/09/08 21:49
Trackback Address :: http://www.yongbi.net/trackback/873
  • MS

    Tracked from MS | 2021/08/07 22:48 | DEL

    Great Architect & Artist -

  • free

    Tracked from free | 2021/08/12 07:22 | DEL

    Great Architect & Artist -

  • Vehicle

    Tracked from Vehicle | 2021/08/13 19:41 | DEL

    Great Architect & Artist -

  • beste

    Tracked from beste | 2021/08/13 20:26 | DEL

    Great Architect & Artist -

  • pgslot

    Tracked from pgslot | 2021/08/16 22:34 | DEL

    Great Architect & Artist -

  • iphone

    Tracked from iphone | 2021/08/17 17:10 | DEL

    Great Architect & Artist -

  • macbook

    Tracked from macbook | 2021/08/20 07:07 | DEL

    Great Architect & Artist -

  • Office

    Tracked from Office | 2021/08/22 01:07 | DEL

    Great Architect & Artist -

  • xnxx

    Tracked from xnxx | 2021/08/26 02:08 | DEL

    Great Architect & Artist -

  • SEO

    Tracked from SEO | 2021/08/27 08:30 | DEL

    Great Architect & Artist -

  • iphone

    Tracked from iphone | 2021/08/30 20:13 | DEL

    Great Architect & Artist -

  • testing

    Tracked from testing | 2021/09/10 05:08 | DEL

    Great Architect & Artist -

  • Game

    Tracked from Game | 2021/09/10 06:33 | DEL

    Great Architect & Artist -

  • my blog

    Tracked from my blog | 2021/09/12 02:18 | DEL

    Great Architect & Artist -

  • Bank

    Tracked from Bank | 2021/09/19 00:36 | DEL

    Great Architect & Artist -

  • 77 slot

    Tracked from 77 slot | 2021/09/30 13:15 | DEL

    Great Architect & Artist -

  • suporte

    Tracked from suporte | 2021/10/04 02:08 | DEL

    Great Architect & Artist -

  • phenq

    Tracked from phenq | 2021/10/10 13:00 | DEL

    Great Architect & Artist -

[로그인][오픈아이디란?]
오픈아이디로만 댓글을 남길 수 있습니다
Name
Password
Homepage

Secret
< PREV |  1  |  ...  9  |  10  |  11  |  12  |  13  |  14  |  15  |  16  |  17  |  ...  640  |  NEXT >