-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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 documentation about Templating in backend file #3223
Conversation
docs/configuration/backends/file.md
Outdated
|
||
To enable the file backend, you must either pass the `--file` option to the Træfik binary or put the `[file]` section (with or without inner settings) in the configuration file. | ||
|
||
The configuration file allows managing both backends/frontends and HTTPS certificates (which are not [Let's Encrypt](https://letsencrypt.org) certificates generated through Træfik). | ||
|
||
### Simple | ||
TOML templating can be used if rules are not defined in the file Træfik configuration file. |
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.
Could you replace file Træfik configuration file
with Træfik configuration file
please
docs/configuration/backends/file.md
Outdated
@@ -197,9 +198,16 @@ defaultEntryPoints = ["http", "https"] | |||
Adding certificates directly to the entryPoint is still maintained but certificates declared in this way cannot be managed dynamically. | |||
It's recommended to use the file provider to declare certificates. | |||
|
|||
### Rules in a Separate File | |||
!!! warning | |||
TOML templating cannot be used if rules are defined in the file Træfik configuration file. |
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.
Could you replace file Træfik configuration file
with Træfik configuration file
please
314d4e6
to
9f374d3
Compare
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.
LGTM
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.
LGTM
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.
LGTM
What does this PR do?
Adding documentation about templating in backend
file
.Motivation
Have a better documentation.
More
Additional Notes
A section about TLS certificates management into K8s secrets has been added too. 😉