centos7 nginx 403 forbidden 原因及解决办法
来源:互联网 发布:索信达数据 编辑:程序博客网 时间:2024/05/29 05:00
selinux 开启导致 nginx 403
If you still see permission denied after verifying the permissions of the parent folders, it may be SELinux restricting access.
To check if SELinux is running:
getenforce
To disable SELinux until next reboot:
setenforce Permissive
Restart Nginx and see if the problem persists. To allow nginx to serve your www directory (make sure you turn SELinux back on before testing this. i.e, setenforce Enforcing)
chcon -Rt httpd_sys_content_t /path/to/www
0 0
- centos7 nginx 403 forbidden 原因及解决办法
- nginx “403 Forbidden” 错误的原因及解决办法
- nginx “403 Forbidden” 错误的原因及解决办法
- nginx 403 Forbidden 错误及解决办法
- Nginx 403 forbidden的解决办法
- Nginx 403 forbidden的解决办法
- nginx 403 forbidden 二种原因
- nginx 403 forbidden 二种原因
- nginx 403 forbidden 二种原因
- Nginx 出现 403 Forbidden 的解决办法
- Nginx 出现 403 Forbidden 的解决办法
- 造成 nginx 403 forbidden 的几种原因
- nginx出现403 forbidden错误的两种原因
- nginx出现403 forbidden错误的两种原因
- 造成 nginx 403 forbidden 的几种原因
- nginx服务器报403 forbidden错误的解决办法
- Nginx报错403 forbidden (13: Permission denied)的解决办法
- Nginx报错403 forbidden (13: Permission denied)的解决办法
- 百度面试题——裁剪网格纸
- KNN最邻近规则分类算法实践实现【Python实现】
- POJ 3261 Milk Patterns <后缀数组+二分>
- seajs常用的API
- MySQL 修改localhost密码
- centos7 nginx 403 forbidden 原因及解决办法
- centos6.5下Python IDE开发环境搭建
- 设计模式学习之访问者模式
- 数组排序的常见方法
- 使用原生态jdbc查询mysql数据库中用户表的记录
- notepad++ 操作实例
- label的用法
- HZAU 1209 Deadline (技巧)
- learning python in the hard way习题6~10的附加题练习