Skip to content
Snippets Groups Projects
Verified Commit 3862a93c authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[Traefik] Fix configuration for default middleware and TLS options

parent 136570d7
No related branches found
No related tags found
1 merge request!53Migrate to Traefik v2
...@@ -10,10 +10,11 @@ ...@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment