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

Motivate and explain regular expression rules. #1216

Merged
merged 3 commits into from
Mar 3, 2017

Conversation

timoreimann
Copy link
Contributor

@nikore what do you think, is this good enough?

@containous/traefik PTAL.

Copy link
Contributor

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🦁

@nikore
Copy link
Contributor

nikore commented Mar 2, 2017

Looks great; thanks!

@trecloux
Copy link
Contributor

trecloux commented Mar 2, 2017

LGTM 👍

Copy link
Member

@emilevauge emilevauge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
thanks @timoreimann :)

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.
Copy link
Contributor

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. ?

Copy link
Contributor Author

@timoreimann timoreimann Mar 2, 2017

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.)

@timoreimann
Copy link
Contributor Author

@dtomcej okay to merge?

@vdemeester vdemeester merged commit 291ca86 into traefik:master Mar 3, 2017
@timoreimann timoreimann deleted the elaborate-on-regexp branch March 3, 2017 21:13
@ldez ldez added this to the 1.3 milestone May 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants