Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How to configure the gateway for internal forwarding requests? #5552

Open
justin-wick opened this issue Apr 25, 2024 · 1 comment
Labels
type: question Further information is requested

Comments

@justin-wick
Copy link

Question

Assuming the gateway's domain name is: xxx.gateway.com
And the corresponding business system domain name is: xxx.business.com

I want to complete a forwarding like this:
http://xxx.gateway.com/business/api/user/add should be forwarded to http://xxx.business.com/api/user/add

Requirement: It should not return a 302 redirect, but instead perform an internal forwarding at the gateway and then return the response.

Is there a way to implement such a configuration in Shenyu version 2.6.1? If so, please point it out. Thank you!

@justin-wick justin-wick added the type: question Further information is requested label Apr 25, 2024
@moremind
Copy link
Member

pls use divide plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants