mirror of
https://github.com/traefik/traefik.git
synced 2025-11-30 07:01:20 +01:00
Fix basic docs for configuration of multiple rules (#576)
This commit is contained in:
parent
5ce9719951
commit
ffa060ce56
@ -127,7 +127,7 @@ In TOML file, you can use multiple routes:
|
|||||||
[frontends.frontend3.routes.test_1]
|
[frontends.frontend3.routes.test_1]
|
||||||
rule = "Host:test3.localhost"
|
rule = "Host:test3.localhost"
|
||||||
[frontends.frontend3.routes.test_2]
|
[frontends.frontend3.routes.test_2]
|
||||||
rule = "Host:Path:/test"
|
rule = "Path:/test"
|
||||||
```
|
```
|
||||||
|
|
||||||
Here `frontend3` will forward the traffic to the `backend2` if the rules `Host:test3.localhost` **AND** `Path:/test` are matched.
|
Here `frontend3` will forward the traffic to the `backend2` if the rules `Host:test3.localhost` **AND** `Path:/test` are matched.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user