You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2019/10/31 09:23:59 UTC
[GitHub] [incubator-apisix] jiagoumengxiang commented on issue #733: 支持nginx的proxy_pass路由转发功能
jiagoumengxiang commented on issue #733: 支持nginx的proxy_pass路由转发功能
URL: https://github.com/apache/incubator-apisix/issues/733#issuecomment-548281611
nginx proxy_pass 地址后面加 "/" 会自动替换匹配
例如
location /proxy/ {
proxy_pass http://127.0.0.1/;
}
请求 127.0.0.1/proxy/test.html 代理到 http://127.0.0.1/test.html
中间的proxy会自动过滤掉
请问这个功能设置?
我试了proxy_rewrite . 请求127.0.0.1/proxy/test.html 代理到 127.0.0.1 后面的都丢了.
怎么设置????
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services