[Traefik] Use clear custom entrypoint name, fix config path, fix redirection
This commit is contained in:
parent
cf9754c3b3
commit
4890471df3
|
@ -3,15 +3,15 @@
|
||||||
checkNewVersion = true
|
checkNewVersion = true
|
||||||
|
|
||||||
[entryPoints]
|
[entryPoints]
|
||||||
[entryPoints.http]
|
[entryPoints.web]
|
||||||
address = ":80"
|
address = ":80"
|
||||||
[entryPoints.http.redirections.entryPoint]
|
[entryPoints.web.http.redirections.entryPoint]
|
||||||
to = "https"
|
to = "websecure"
|
||||||
scheme = "https"
|
scheme = "https"
|
||||||
[entryPoints.https]
|
[entryPoints.websecure]
|
||||||
address = ":443"
|
address = ":443"
|
||||||
middlewares = ["hardening@file", "compression@file"]
|
middlewares = ["hardening@file", "compression@file"]
|
||||||
[entryPoints.https.tls]
|
[entryPoints.websecure.tls]
|
||||||
certResolver = "letsencrypt"
|
certResolver = "letsencrypt"
|
||||||
options = "tls12@file"
|
options = "tls12@file"
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
swarmMode = false
|
swarmMode = false
|
||||||
exposedByDefault = false
|
exposedByDefault = false
|
||||||
[providers.file]
|
[providers.file]
|
||||||
filename = "/etc/traefik/traefik_dynamic.toml"
|
filename = "/traefik_dynamic.toml"
|
||||||
watch = true
|
watch = true
|
||||||
|
|
||||||
[log]
|
[log]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user