nginx反向代理tomcat提示13 permission denied while connecting to upstream,网上很多都是说13 permission denied while reading to upstream,这是两个完全不同的错误,我遇到的如下截图:
查看selinux日志发现错误:
后来发现是selinux的问题,于是先关掉selinux:setenforce 0;然后再访问果然好使。
于是启用selinux,再执行下面的命令,修改selinux的值:
setsebool -P httpd_can_network_connect 1
然后重新访问果然正常了。
(关注微信公众号,获取更多内容)
