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 1、修改nginx.conf后,重启时报错 2、错误原因 如果location或if中用到了正则,则不能再转发除ip:port外的路径请求