添加反向代理出现错误 Nginx配置规则错误:
[url=]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/nginx/conf/vhost/www.baerk.xyz.conf:34
nginx: configuration file /www/server/nginx/conf/nginx.conf test failed[/url] 注意:
============================================================================- 请根据以上错误信息排除配置文件错误!
- 配置文件有错误的情况下,您添加的站点、域名将无法生效!
- 排除配置错误之前请不要重启服务器或apache/nginx,这会导致您的Web服务无法启动!
- 若您无法排除错误,请附上错误信息到我们官方论坛发贴求助;>>点击求助
|