監聽的端口從80 修改到其餘端口出現啓動不起來問題。python
解決方案以下:nginx
yum install policycoreutils-python sudo cat /var/log/audit/audit.log | grep nginx | grep denied | audit2allow -M mynginx sudo semodule -i mynginx.pp