[Traefik] Fix configuration for default middleware and TLS options

This commit is contained in:
Quentin Duchemin 2020-09-04 12:54:04 +02:00
parent 4890471df3
commit efdc2f01c2

View File

@ -10,10 +10,11 @@
scheme = "https" scheme = "https"
[entryPoints.websecure] [entryPoints.websecure]
address = ":443" address = ":443"
middlewares = ["hardening@file", "compression@file"] [entryPoints.websecure.http]
[entryPoints.websecure.tls] middlewares = ["hardening@file", "compression@file"]
certResolver = "letsencrypt" [entryPoints.websecure.http.tls]
options = "tls12@file" certResolver = "letsencrypt"
options = "tls12@file"
[providers] [providers]