Fix doc dynamic certificates

This commit is contained in:
Emile Vauge 2018-01-23 09:12:03 +01:00 committed by Traefiker
parent fc00e1c228
commit 4e07d92190
2 changed files with 23 additions and 10 deletions

View file

@ -85,10 +85,16 @@ defaultEntryPoints = ["http", "https"]
# HTTPS certificate # HTTPS certificate
[[tlsConfiguration]] [[tlsConfiguration]]
entryPoints = ["https"] entryPoints = ["https"]
[tlsConfiguration.certificate] [tlsConfiguration.certificate]
certFile = "integration/fixtures/https/snitest.com.cert" certFile = "path/to/my.cert"
keyFile = "integration/fixtures/https/snitest.com.key" keyFile = "path/to/my.key"
[[tlsConfiguration]]
entryPoints = ["https"]
[tlsConfiguration.certificate]
certFile = "path/to/my/other.cert"
keyFile = "path/to/my/other.key"
``` ```
!!! note !!! note
@ -160,15 +166,14 @@ filename = "rules.toml"
[[tlsConfiguration]] [[tlsConfiguration]]
entryPoints = ["https"] entryPoints = ["https"]
[tlsConfiguration.certificate] [tlsConfiguration.certificate]
certFile = "integration/fixtures/https/snitest.com.cert" certFile = "path/to/my.cert"
keyFile = "integration/fixtures/https/snitest.com.key" keyFile = "path/to/my.key"
[[tlsConfiguration]] [[tlsConfiguration]]
entryPoints = ["https"] entryPoints = ["https"]
[[tlsConfiguration.certificates]] [tlsConfiguration.certificate]
certFile = "integration/fixtures/https/snitest.org.cert" certFile = "path/to/my/other.cert"
keyFile = "integration/fixtures/https/snitest.org.key" keyFile = "path/to/my/other.key"
```
## Multiple `.toml` Files ## Multiple `.toml` Files

View file

@ -55,6 +55,8 @@ To redirect an entrypoint rewriting the URL.
## TLS ## TLS
### Static Certificates
Define an entrypoint with SNI support. Define an entrypoint with SNI support.
```toml ```toml
@ -70,6 +72,12 @@ Define an entrypoint with SNI support.
!!! note !!! note
If an empty TLS configuration is done, default self-signed certificates are generated. If an empty TLS configuration is done, default self-signed certificates are generated.
### Dynamic Certificates
If you need to add or remove TLS certificates while Traefik is started, Dynamic TLS certificates are supported using the [file provider](/configuration/backends/file).
## TLS Mutual Authentication ## TLS Mutual Authentication
TLS Mutual Authentication can be `optional` or not. TLS Mutual Authentication can be `optional` or not.