nginx proxy_pass和rewrite

2018-07-03

"proxy_pass" may not have URI part in location given by regular expression, or inside named location, or inside the "if" statement, or inside the "limit_except" block in nginx.conf:

1、proxy_pass http://otherserver/;需要改成proxy_pass http://otherserver;
2、rewrite

分类:Linux | 标签: |

相关日志

评论被关闭!