Add copy treafik config
This commit is contained in:
parent
3fbdcc0a51
commit
445c50dab6
12 changed files with 13 additions and 2 deletions
2
roles/traefik/files/config/.gitignore
vendored
Normal file
2
roles/traefik/files/config/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
acme.json
|
||||
acme.json*
|
1
roles/traefik/files/config/dynamic_conf.yaml
Normal file
1
roles/traefik/files/config/dynamic_conf.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
http: {}
|
51
roles/traefik/files/config/traefik.yml
Normal file
51
roles/traefik/files/config/traefik.yml
Normal file
|
@ -0,0 +1,51 @@
|
|||
log:
|
||||
level: DEBUG
|
||||
|
||||
api:
|
||||
dashboard: true
|
||||
|
||||
accessLog:
|
||||
filePath: "/var/log/traefik/access.log"
|
||||
format: json
|
||||
|
||||
entryPoints:
|
||||
http:
|
||||
address: ":80"
|
||||
http:
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: https
|
||||
scheme: https
|
||||
https:
|
||||
address: ":443"
|
||||
metrics:
|
||||
address: ":8080"
|
||||
|
||||
metrics:
|
||||
prometheus:
|
||||
entryPoint: metrics
|
||||
buckets:
|
||||
- 0.1
|
||||
- 0.3
|
||||
- 1.2
|
||||
- 5.0
|
||||
addEntryPointsLabels: true
|
||||
addServicesLabels: true
|
||||
|
||||
providers:
|
||||
docker:
|
||||
endpoint: "unix:///var/run/docker.sock"
|
||||
exposedByDefault: false
|
||||
http:
|
||||
endpoint: "http://http_provider/dynamic_conf.yaml"
|
||||
|
||||
certificatesResolvers:
|
||||
sslResolver:
|
||||
acme:
|
||||
email: florian.richer.97@outlook.com
|
||||
tlschallenge: {}
|
||||
storage: acme.json
|
||||
keyType: RSA4096
|
||||
#caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
|
||||
httpChallenge:
|
||||
entryPoint: http
|
Loading…
Add table
Add a link
Reference in a new issue