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

Add multiple rules #285

Merged
merged 5 commits into from Apr 6, 2016
Merged

Add multiple rules #285

merged 5 commits into from Apr 6, 2016

Conversation

emilevauge
Copy link
Member

This PR adds multiple rules support.
You can now write your rules:

  • Host: foo.domain.com, bar.domain.com
  • Path: /foo, /bar
  • PathStrip: /foo, /bar

And it also works with PathPrefix and PathPrefixStrip.

Host rule no longer accepts regexp. Use the new HostRegexp instead.
Methods rule is renamed to Method

  • code
  • doc

Fixes #179
Fixes #116

Signed-off-by: Emile Vauge emile@vauge.com

Signed-off-by: Emile Vauge <emile@vauge.com>
Signed-off-by: Emile Vauge <emile@vauge.com>
Signed-off-by: Emile Vauge <emile@vauge.com>
Signed-off-by: Emile Vauge <emile@vauge.com>
Signed-off-by: Emile Vauge <emile@vauge.com>
@vdemeester
Copy link
Contributor

LGTM 🐷

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.

[support] Match against multiple hosts Possible to listen to both www.example.com and example.com?
3 participants