社区
系统维护与使用区
帖子详情
nginx: [emerg] location "\.php/?.*" cannot be inside the exact location "/50x.ht
AirGo.
2018-12-05 06:08:06
nginx: [emerg] location "\.php/?.*" cannot be inside the exact location "/50x.html" in /usr/local/nginx/conf/nginx.conf:74
...全文
751
4
打赏
收藏
nginx: [emerg] location "\.php/?.*" cannot be inside the exact location "/50x.ht
nginx: [emerg] location "\.php/?.*" cannot be inside the exact location "/50x.html" in /usr/local/nginx/conf/nginx.conf:74
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
AirGo.
2018-12-10
打赏
举报
回复
引用 1 楼 aabbabababaa 的回复:
分错层了吧,看下你的配置文件}号。。。
事情的起因其实是我想改一下配置文件,然后从网上直接copy的两行配置放到我的配置里了,报错的这一行其实并没有动过,但是我记得他应该是我copy的那两行下边的,我现在感觉应该是nginx的配置格式有严格要求,只能手打还是怎么的不清楚,复制来的配置尽管只有两行,但是改了他的配置格式,无论我怎么手动改都不行,我重装了一遍nginx,手动又配了一遍解决了。。。
AirGo.
2018-12-10
打赏
举报
回复
引用 3 楼 cocoabird 的回复:
格式错误了,
对
cocoabird
2018-12-10
打赏
举报
回复
格式错误了,
aabbabababaa
2018-12-09
打赏
举报
回复
分错层了吧,看下你的配置文件}号。。。
高并发下的
Nginx
性能优化实战
【超实用课程内容】 本课程内容包含讲解解读
Nginx
的基础知识,解读
Nginx
的核心知识、带领学员进行高并发环境下的
Nginx
性能优化实战,让学生能够快速将所学融合到企业应用中。 【课程如何观看?】 PC端:...
【
nginx
问题】
nginx
: [e
merg
] duplicate
location
“/”
1、检查配置文件是否存在重复的
location
/{},有的话注释一个,如下图所示: 2、如果是多个不重复的
location
/{},将两个
location
/{}合并成一个 就好了,如下所示,注释掉一个
location
/{}:
location
/ { ...
Nginx
报错:
nginx
: [e
merg
] open() “/usr/local/
nginx
/../conf/
nginx
.conf“ failed (2: No such file or direc
[root@ubuntu /usr/local/
nginx
/sbin]6# ./
nginx
-s reload
nginx
: [error] open() "/usr/local/
nginx
/logs/
nginx
.pid" failed (2: No such file or directory) 解决办法: 重新以这种方式加载
nginx
.conf [root@...
nginx
: configuration file /home/xx.local/etc/
nginx
/
nginx
.conf test failed
nginx
启动失败 输入:
nginx
-t -c $HOME/.local/etc/
nginx
/
nginx
.conf
nginx
: [alert] could not open error log file: ...2021/02/17 01:42:50 [warn] 3784#3784: the "user" directive makes sense only if the m
宝塔面板
nginx
报错
nginx
: configuration file /www/server/
nginx
/conf/
nginx
.conf test failed 语法检查通过单测试配置文件失败
宝塔面板
nginx
报错
nginx
: configuration file /www/server/
nginx
/conf/
nginx
.conf test failed 语法检查通过单测试配置文件失败 最近宝塔装了防火墙,然而蜻蜓系统伪静态配置规则是 不管怎么样保存都报错,...
系统维护与使用区
19,612
社区成员
74,603
社区内容
发帖
与我相关
我的任务
系统维护与使用区
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
复制链接
扫一扫
分享
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章