Migrate conf file to yaml ; add dynamix configuration
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
[global]
|
||||
checkNewVersion=true
|
||||
sendAnonymousUsage=false
|
||||
|
||||
[accesslog]
|
||||
|
||||
[log]
|
||||
level = "WARNING"
|
||||
|
||||
[api]
|
||||
dashboard = true
|
||||
|
||||
[entryPoints]
|
||||
[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.myresolver.acme]
|
||||
email = "florestan@bredow.fr"
|
||||
storage = "acme.json"
|
||||
[certificatesResolvers.myresolver.acme.httpChallenge]
|
||||
entryPoint = "web"
|
||||
|
||||
[providers.docker]
|
||||
exposedByDefault = false
|
||||
network = "web"
|
41
conf/traefik.yml
Normal file
41
conf/traefik.yml
Normal file
@@ -0,0 +1,41 @@
|
||||
global:
|
||||
checkNewVersion: false
|
||||
sendAnonymousUsage: false
|
||||
|
||||
# Log les accès sur la sortie standard.
|
||||
accesslog: {}
|
||||
|
||||
log:
|
||||
level: "WARN"
|
||||
|
||||
api:
|
||||
dashboard: true
|
||||
|
||||
entryPoints:
|
||||
web:
|
||||
address: ":80"
|
||||
http:
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: "websecure"
|
||||
scheme: "https"
|
||||
websecure:
|
||||
enablehttp3: true
|
||||
address: ":443"
|
||||
|
||||
certificatesResolvers:
|
||||
myresolver:
|
||||
acme:
|
||||
email: "florestan.bredow@supagro.fr"
|
||||
storage: "acme.json"
|
||||
httpChallenge:
|
||||
entryPoint: "web"
|
||||
|
||||
providers:
|
||||
file:
|
||||
directory: "/etc/traefik/dynamic"
|
||||
|
||||
providers:
|
||||
docker:
|
||||
exposedBydefault: false
|
||||
network: "web"
|
Reference in New Issue
Block a user