proxy_pass isn't working when SELinux is enabled, why?

前端 未结 4 526
醉话见心
醉话见心 2021-02-04 04:03

I\'m having an application listening on port 8081 and Nginx running on port 8080. The proxy pass statement looks like:

$ cat /var/etc/opt/lj/output/services/abc.         


        
4条回答
  •  粉色の甜心
    2021-02-04 04:49

    Worth noting for beginners in SELinux that if your proxied service is running on 8080, you can use the command below without compiling a policy.

    $ sudo setsebool httpd_can_network_connect 1 -P
    

提交回复
热议问题