nginx反向代理提示failed (13: Permission denied) while connecting to upstream
解决方法:
先关掉selinux:
执行: sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
或者
执行:setenforce 0
再执行修改selinux的值:
setsebool -P httpd_can_network_connect 1
测试,访问OK