-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
feat(proxy-mirror): support prefix mode #8261
Conversation
apisix/plugins/proxy-mirror.lua
Outdated
@@ -33,6 +33,12 @@ local schema = { | |||
type = "string", | |||
pattern = [[^/[^?&]+$]], | |||
}, | |||
mode = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As it isn't "mode" of the proxy-mirror, I think calling it "path_concat_mode" would be better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@spacewander Done. PTAL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update the doc (https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/proxy-mirror.md and the corresponding Chinese version) before we can merge it?
@spacewander I have updated the documents in English and Chinese. PTAL. |
Description
Fixes #8260
Checklist