做种服务器用来反代WebUI的Nginx莫名其妙挂掉了,在面板怎么启动都启动不了。
尝试在SSH手动启动,结果如下
[root@localhost ~]# service nginx start
Starting nginx... nginx: [emerg] "proxy_pass" cannot have URI part in location given by regular expression, or inside named location, or inside "if" statement, or inside "limit_except" block in /www/server/panel/vhost/nginx/proxy/flexget.im.ci/f849c09dacd2f2f8c2f18eb5ff082308_flexget.im.ci.conf:5
failed
看报错的意思是”flexget.im.ci”的反代参数有误,导致Nginx无法启动。
返回面板,直接删除反代配置,再次启动Nginx
[root@localhost ~]# service nginx start
Starting nginx... done
总结:Nginx反代URL不能带路径,鬼知道我之前怎么保存成功的。
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
minimumshen5天前0
微软确实傻逼Lars11天前0
大佬空了整个docker镜像吧,自己安装一直卡在 app_set_config 90GG2个月前0
总结没毛病过客2个月前0
reunion插件是干什么用的?fom3个月前0
你好,请问一下如果用的是QTS5.0自带的反向代理,有什么方法解决吗?amen1233个月前0
服务器也成功搭建了,想咨询下最后防止服务器被黑。是要在XSHELL里头,最后输入/etc/passwd 和/sbin/nologin 吗skyline3个月前0
感谢解释,这个问题要是不想明白,也是永远想不通为什么会这样b1215个月前0
teamspeak@VM-24-13-debian:~$ ./ts3server_startscript.sh start ts3server.pid found, but no server running. Possibly your previously started server crashed Please view the logfile for details. Starting the TeamSpeak 3 server TeamSpeak 3 server started, for details please view the log file 大佬,創了ts服務器卻進不去,這咋辦啊