美文网首页
ngxin错误cannot have URI part in l

ngxin错误cannot have URI part in l

作者: TOPro | 来源:发表于2020-08-25 14:44 被阅读0次

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 /usr/local/etc/nginx/nginx.conf:49

需要吧
proxy_pass http://foo.bar/;
改成
proxy_pass http://foo.bar;

相关文章

网友评论

      本文标题:ngxin错误cannot have URI part in l

      本文链接:https://www.haomeiwen.com/subject/rcczjktx.html