1
0
Fork 0
myserver-configuration/roles/traefik/templates/config/traefik.yml

54 lines
898 B
YAML
Raw Normal View History

2023-05-02 18:38:04 +02:00
api:
dashboard: true
log:
level: INFO
accessLog: {}
2023-05-02 18:38:04 +02:00
entryPoints:
2023-09-25 22:01:57 +02:00
ssh:
address: ":22"
2023-05-02 18:38:04 +02:00
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
2023-05-02 18:38:04 +02:00
certificatesResolvers:
sslResolver:
acme:
2023-05-20 15:53:20 +02:00
email: {{ acme.email }}
2023-06-09 18:03:50 +02:00
tlsChallenge: {}
2023-05-02 18:38:04 +02:00
storage: acme.json
keyType: RSA4096
2023-05-20 15:53:20 +02:00
{% if acme.debug %}
2023-05-03 22:35:19 +02:00
caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
2023-05-20 15:53:20 +02:00
{% endif %}
2023-05-02 18:38:04 +02:00
httpChallenge:
entryPoint: http