Skip to content

proxy_pass #9

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

Closed
EdenHell opened this issue Nov 3, 2019 · 1 comment
Closed

proxy_pass #9

EdenHell opened this issue Nov 3, 2019 · 1 comment
Labels

Comments

@EdenHell
Copy link

EdenHell commented Nov 3, 2019

proxy_pass.md 中 94 行

// 访问:   /api/                           后端:   /v1
// 访问:   /api/xx                         后端:   /v1xx
// 访问:   /api/xx?aa                      后端:   /v1xx
// 访问:   /api-xx?aa                      后端:   /-xx?aa
location /api/ {
    proxy_pass http://node:8080/v1;
}

其中的访问 /api-xx?aa,应该是匹配失败的,不会被转发给后端。

@xuexb xuexb closed this as completed in 5b59029 Nov 5, 2019
@xuexb
Copy link
Owner

xuexb commented Nov 5, 2019

感谢 @EdenHell ~

@xuexb xuexb added the bug label Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants