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

How can i achieve proxy_pass with path #3381

Closed
wuchencm opened this issue Nov 8, 2018 · 1 comment
Closed

How can i achieve proxy_pass with path #3381

wuchencm opened this issue Nov 8, 2018 · 1 comment

Comments

@wuchencm
Copy link

wuchencm commented Nov 8, 2018

For example

location /api/auth/ {
proxy_pass http://www.test.com/usercenter/api/auth/ ;
}

@aledbf
Copy link
Member

aledbf commented Nov 8, 2018

You can use the server-snippet annotation or use a service type=ExternalName. Please check this example #629 (comment)

@aledbf aledbf closed this as completed Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants