[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,8 +10,9 @@
scheme = "https" scheme = "https"
[entryPoints.websecure] [entryPoints.websecure]
address = ":443" address = ":443"
[entryPoints.websecure.http]
middlewares = ["hardening@file", "compression@file"] middlewares = ["hardening@file", "compression@file"]
[entryPoints.websecure.tls] [entryPoints.websecure.http.tls]
certResolver = "letsencrypt" certResolver = "letsencrypt"
options = "tls12@file" options = "tls12@file"