1
0
Fork 0
myserver-configuration/roles/traefik/templates/config/traefik.yml
2023-09-25 22:01:57 +02:00

53 lines
898 B
YAML

api:
dashboard: true
log:
level: INFO
accessLog: {}
entryPoints:
ssh:
address: ":22"
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
file:
filename: /dynamic_conf.yml
watch: true
certificatesResolvers:
sslResolver:
acme:
email: {{ acme.email }}
tlsChallenge: {}
storage: acme.json
keyType: RSA4096
{% if acme.debug %}
caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
{% endif %}
httpChallenge:
entryPoint: http