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 /etc/nginx/nginx.conf:63
原因是location使用了正则表达式后
proxy_pass后面部分不能有斜杠
例如:错误的:
proxy_pass http://127.0.0.1/
正确的:
proxy_pass http://127.0.0.1