-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Allow multiple rules #435
Allow multiple rules #435
Conversation
``` | ||
|
||
- Three frontends are defined: `frontend1`, `frontend2` and `frontend3` | ||
- `frontend1` will forward the traffic to the `backend2` if the rule `Host: test.localhost, test2.localhost` is matched | ||
- `frontend2` will forward the traffic to the `backend1` if the rule `Host: localhost, {subdomain:[a-z]+}.localhost` is matched (forwarding client `Host` header to the backend) | ||
- `frontend3` will forward the traffic to the `backend2` if the rule `Path:/test` is matched | ||
- `frontend3` will forward the traffic to the `backend2` if the rule `Host: test3.localhost; Path:/test` is matched |
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.
if the rule
Host: test3.localhost; Path:/test
is matched
I would prefer: if the rules Host: test3.localhost
and Path:/test
are matched ;)
One minor comment ;) Fixes #419 |
@emilevauge documentation OK |
LGTM 🐮 🙌 |
This PR allow to set more than one route in labels/tags (#419)