mirror of
https://github.com/containous/traefik.git
synced 2025-03-19 18:50:12 +03:00
Add documentation about backtick for rule definition.
This commit is contained in:
parent
d22bd5b42d
commit
355fe6195e
@ -203,9 +203,14 @@ If you want to limit the router scope to a set of entry points, set the `entryPo
|
||||
|
||||
### Rule
|
||||
|
||||
Rules are a set of matchers that determine if a particular request matches specific criteria.
|
||||
Rules are a set of matchers configured with values, that determine if a particular request matches specific criteria.
|
||||
If the rule is verified, the router becomes active, calls middlewares, and then forwards the request to the service.
|
||||
|
||||
??? tip "Backticks or Quotes?"
|
||||
To set the value of a rule, use [backticks](https://en.wiktionary.org/wiki/backtick) ``` ` ``` or escaped double-quotes `\"`.
|
||||
|
||||
Single quotes `'` are not accepted as values are [Golang's String Literals](https://golang.org/ref/spec#String_literals).
|
||||
|
||||
!!! example "Host is traefik.io"
|
||||
|
||||
```toml
|
||||
|
Loading…
x
Reference in New Issue
Block a user