traefik/traefik.yml

49 lines
840 B
YAML
Raw Normal View History

2024-05-15 06:30:32 +00:00
## Static configuration
2024-05-04 08:03:00 +00:00
entryPoints:
2024-05-15 06:30:32 +00:00
web:
2024-05-04 08:03:00 +00:00
address: ":80"
2024-05-17 21:26:23 +00:00
#asDefault: truxe
2024-05-15 06:34:40 +00:00
2024-05-17 21:26:23 +00:00
# websecure:
# address: ":443"
2024-05-14 17:12:24 +00:00
# http:
# redirections:
# entryPoint:
# to: websecure
# scheme: https
# permanent: true
2024-05-03 21:10:19 +00:00
2024-05-20 11:39:50 +00:00
websecure:
address: ":443"
2024-05-21 06:17:45 +00:00
http:
tls:
certresolver: myresolver
2024-05-20 11:39:50 +00:00
2024-05-21 06:25:09 +00:00
2024-05-20 11:39:50 +00:00
certificatesResolvers:
myresolver:
acme:
email: lecoiffiermathieu@gmail.com
2024-05-21 06:25:09 +00:00
storage: /etc/traefik/acme/acme.json
caServer: https://acme-staging-v02.api.letsencrypt.org/directory
2024-05-20 11:39:50 +00:00
httpChallenge:
# used during the challenge
entryPoint: web
2024-05-03 21:10:19 +00:00
2024-05-14 17:12:24 +00:00
log:
2024-05-21 06:10:15 +00:00
level: WARN
2024-05-14 17:00:44 +00:00
2024-05-04 08:03:00 +00:00
api:
2024-05-04 16:36:40 +00:00
insecure: true
dashboard: true
2024-05-17 21:26:23 +00:00
# entryPoint: "web"
2024-05-14 17:00:44 +00:00
2024-05-17 21:51:56 +00:00
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
2024-05-18 21:09:27 +00:00
2024-05-18 21:35:51 +00:00
file:
2024-05-18 21:42:12 +00:00
filename: /etc/traefik/rules.yaml
2024-05-18 21:35:51 +00:00
watch: true