You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "linux-time (via GitHub)" <gi...@apache.org> on 2024/12/27 13:41:26 UTC
[I] help request: 能像nginx一样做路径隐藏吗? [apisix]
linux-time opened a new issue, #11869:
URL: https://github.com/apache/apisix/issues/11869
### Description
例如访问: xxx.com/service-1/重写到xxx.com
### Environment
- APISIX version (run `apisix version`):
- Operating system (run `uname -a`):
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`):
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners:
- LuaRocks version, for installation issues (run `luarocks --version`):
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 能像nginx一样做路径隐藏吗? [apisix]
Posted by "linux-time (via GitHub)" <gi...@apache.org>.
linux-time commented on issue #11869:
URL: https://github.com/apache/apisix/issues/11869#issuecomment-2564159549

这是我的配置,没效果。
> [proxy-rewrite](https://apisix.apache.org/docs/apisix/plugins/proxy-rewrite/)
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 能像nginx一样做路径隐藏吗? [apisix]
Posted by "wklken (via GitHub)" <gi...@apache.org>.
wklken commented on issue #11869:
URL: https://github.com/apache/apisix/issues/11869#issuecomment-2564155530
[proxy-rewrite](https://apisix.apache.org/docs/apisix/plugins/proxy-rewrite/)
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 能像nginx一样做路径隐藏吗? [apisix]
Posted by "kayx23 (via GitHub)" <gi...@apache.org>.
kayx23 commented on issue #11869:
URL: https://github.com/apache/apisix/issues/11869#issuecomment-2646907652
Sounds like you could simply use proxy-rewrite to rewrite the route to `/`? Has this been resolved?
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 能像nginx一样做路径隐藏吗? [apisix]
Posted by "hanqingwu (via GitHub)" <gi...@apache.org>.
hanqingwu commented on issue #11869:
URL: https://github.com/apache/apisix/issues/11869#issuecomment-2582190228
对, 直接用 https://apisix.apache.org/docs/apisix/plugins/proxy-rewrite/ 里的命令行例子里 regex_uri ,来配置正则
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 能像nginx一样做路径隐藏吗? [apisix]
Posted by "wzhlinux (via GitHub)" <gi...@apache.org>.
wzhlinux commented on issue #11869:
URL: https://github.com/apache/apisix/issues/11869#issuecomment-2568809466
加载插件了没?不建议用apisix dashboard代码太老了
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] help request: 能像nginx一样做路径隐藏吗? [apisix]
Posted by "linux-time (via GitHub)" <gi...@apache.org>.
linux-time commented on issue #11869:
URL: https://github.com/apache/apisix/issues/11869#issuecomment-2564157503
不太行
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org