-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Motivate and explain regular expression rules. #1216
Conversation
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.
LGTM 🦁
754aff1
to
6f3331a
Compare
Looks great; thanks! |
LGTM 👍 |
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.
LGTM
thanks @timoreimann :)
6f3331a
to
6942b06
Compare
docs/basics.md
Outdated
@@ -85,13 +85,17 @@ Frontends can be defined using the following rules: | |||
- `PathStrip`: Same as `Path` but strip the given prefix from the request URL's Path. | |||
- `PathPrefix`: PathPrefix adds a matcher for the URL path prefixes. This matches if the given template is a prefix of the full URL path. | |||
- `PathPrefixStrip`: Same as `PathPrefix` but strip the given prefix from the request URL's Path. | |||
- `AddPrefix` : Add prefix from the request URL's Path. | |||
- `AddPrefix`: Add prefix from the request URL's Path. |
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.
Sorry grammar question, shouldn't it be:
AddPrefix
: Add prefix to the request URL's Path. ?
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.
Absolutely!
(Found another one too.)
@dtomcej okay to merge? |
@nikore what do you think, is this good enough?
@containous/traefik PTAL.