my-runtipi/_traefik/traefik.yml

49 lines
1.0 KiB
YAML
Raw Permalink Normal View History

2024-11-25 04:05:29 +00:00
api:
dashboard: true
insecure: true
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
2024-11-25 04:05:29 +00:00
watch: true
exposedByDefault: false
file:
directory: /etc/traefik/dynamic
watch: true
entryPoints:
web:
address: ':80'
forwardedHeaders:
trustedIPs:
- "127.0.0.1/32"
- "172.16.0.0/12"
2024-11-25 04:05:29 +00:00
http:
redirections:
entryPoint:
to: 'websecure'
scheme: 'https'
websecure:
address: ':443'
forwardedHeaders:
trustedIPs:
- "127.0.0.1/32"
- "172.16.0.0/12"
2024-11-25 04:05:29 +00:00
certificatesResolvers:
myresolver:
2024-11-25 04:05:29 +00:00
acme:
2024-12-13 15:54:22 +00:00
# email: acme@thisprops.com
2024-11-25 04:05:29 +00:00
storage: /shared/acme.json
# httpChallenge:
# entryPoint: web
#logging: true
dnsChallenge:
provider: cloudflare
resolvers:
- 1.1.1.1:53 # - --certificatesresolvers.cloudflare.acme.dnschallenge.resolvers[0]=1.1.1.1:53
- 8.8.8.8:53 # - --certificatesresolvers.cloudflare.acme.dnschallenge.resolvers[1]=8.8.8.8:53
2024-11-25 04:05:29 +00:00
log:
level: INFO