You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
891 B
37 lines
891 B
[accessLog]
|
|
filePath = "/logs/access.log"
|
|
|
|
[log]
|
|
# level = "INFO"
|
|
level = "DEBUG"
|
|
filePath = "/logs/traefik.log"
|
|
|
|
[providers]
|
|
[providers.docker]
|
|
exposedByDefault = false
|
|
endpoint = "unix:///var/run/docker.sock"
|
|
network = "traefik_proxy"
|
|
[providers.file]
|
|
filename = "/etc/traefik/dynamic.yml"
|
|
|
|
[api]
|
|
dashboard = true
|
|
|
|
# https://doc.traefik.io/traefik/routing/entrypoints/#redirection
|
|
[entryPoints.web]
|
|
address = ":80"
|
|
|
|
[entryPoints.web.http]
|
|
[entryPoints.web.http.redirections]
|
|
[entryPoints.web.http.redirections.entryPoint]
|
|
to = "websecure"
|
|
scheme = "https"
|
|
|
|
[entryPoints.websecure]
|
|
address = ":443"
|
|
|
|
[certificatesResolvers]
|
|
[certificatesResolvers.default.acme]
|
|
email = "chicuong71@gmail.com" #Email Adresse hier anpassen
|
|
storage = "/etc/traefik/ACME/acme.json"
|
|
[certificatesResolvers.default.acme.tlsChallenge]
|
|
|