diff --git a/docs/configuration/backends/file.md b/docs/configuration/backends/file.md index 2621a5695..2fd1809df 100644 --- a/docs/configuration/backends/file.md +++ b/docs/configuration/backends/file.md @@ -85,10 +85,16 @@ defaultEntryPoints = ["http", "https"] # HTTPS certificate [[tlsConfiguration]] -entryPoints = ["https"] + entryPoints = ["https"] [tlsConfiguration.certificate] - certFile = "integration/fixtures/https/snitest.com.cert" - keyFile = "integration/fixtures/https/snitest.com.key" + certFile = "path/to/my.cert" + keyFile = "path/to/my.key" + +[[tlsConfiguration]] + entryPoints = ["https"] + [tlsConfiguration.certificate] + certFile = "path/to/my/other.cert" + keyFile = "path/to/my/other.key" ``` !!! note @@ -160,15 +166,14 @@ filename = "rules.toml" [[tlsConfiguration]] entryPoints = ["https"] [tlsConfiguration.certificate] - certFile = "integration/fixtures/https/snitest.com.cert" - keyFile = "integration/fixtures/https/snitest.com.key" - + certFile = "path/to/my.cert" + keyFile = "path/to/my.key" + [[tlsConfiguration]] entryPoints = ["https"] - [[tlsConfiguration.certificates]] - certFile = "integration/fixtures/https/snitest.org.cert" - keyFile = "integration/fixtures/https/snitest.org.key" -``` + [tlsConfiguration.certificate] + certFile = "path/to/my/other.cert" + keyFile = "path/to/my/other.key" ## Multiple `.toml` Files diff --git a/docs/configuration/entrypoints.md b/docs/configuration/entrypoints.md index a9b949f9b..878e34ee4 100644 --- a/docs/configuration/entrypoints.md +++ b/docs/configuration/entrypoints.md @@ -55,6 +55,8 @@ To redirect an entrypoint rewriting the URL. ## TLS +### Static Certificates + Define an entrypoint with SNI support. ```toml @@ -69,6 +71,12 @@ Define an entrypoint with SNI support. !!! note 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