Minor fix to Go templating documentation
This commit is contained in:
parent
dabf69abc7
commit
7c54a45950
1 changed files with 5 additions and 5 deletions
|
@ -191,14 +191,14 @@ providers:
|
||||||
### Go Templating
|
### Go Templating
|
||||||
|
|
||||||
!!! warning
|
!!! warning
|
||||||
Go Templating only works along with dedicated dynamic configuration files.
|
Go Templating only works with dedicated dynamic configuration files.
|
||||||
Templating does not work in the Traefik main static configuration file.
|
Templating does not work in the Traefik main static configuration file.
|
||||||
|
|
||||||
Traefik allows using Go templating,
|
Traefik supports using Go templating to automatically generate repetitive portions of configuration files.
|
||||||
it must be a valid [Go template](https://golang.org/pkg/text/template/),
|
These sections must be valid [Go templates](https://golang.org/pkg/text/template/),
|
||||||
augmented with the [sprig template functions](http://masterminds.github.io/sprig/).
|
augmented with the [Sprig template functions](http://masterminds.github.io/sprig/).
|
||||||
|
|
||||||
Thus, it's possible to define easily lot of routers, services and TLS certificates as described in the following examples:
|
To illustrate, it's possible to easily define multiple routers, services, and TLS certificates as described in the following examples:
|
||||||
|
|
||||||
??? example "Configuring Using Templating"
|
??? example "Configuring Using Templating"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue