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

[Traefik] Use clear custom entrypoint name, fix config path, fix redirection

parent a22a2baf
No related branches found
No related tags found
1 merge request!53Migrate to Traefik v2
......@@ -3,15 +3,15 @@
checkNewVersion = true
[entryPoints]
[entryPoints.http]
[entryPoints.web]
address = ":80"
[entryPoints.http.redirections.entryPoint]
to = "https"
[entryPoints.web.http.redirections.entryPoint]
to = "websecure"
scheme = "https"
[entryPoints.https]
[entryPoints.websecure]
address = ":443"
middlewares = ["hardening@file", "compression@file"]
[entryPoints.https.tls]
[entryPoints.websecure.tls]
certResolver = "letsencrypt"
options = "tls12@file"
......@@ -24,7 +24,7 @@
swarmMode = false
exposedByDefault = false
[providers.file]
filename = "/etc/traefik/traefik_dynamic.toml"
filename = "/traefik_dynamic.toml"
watch = true
[log]
......
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