Skip to content

Instantly share code, notes, and snippets.

@DubhAd
Created October 25, 2022 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DubhAd/5fffb74c683dd0d96f71d41928ca502a to your computer and use it in GitHub Desktop.
Save DubhAd/5fffb74c683dd0d96f71d41928ca502a to your computer and use it in GitHub Desktop.
Example Traefik config file
global:
# Send anonymous usage data
sendAnonymousUsage: true
accessLog:
filePath: "/logs/access.log"
api:
dashboard: true
insecure: true
ping: {}
entryPoints:
web:
address: ":80"
http:
redirections:
entryPoint:
to: websecure
websecure:
address: ":443"
providers:
docker:
exposedByDefault: false
file:
directory: /config
watch: true
log:
level: INFO
certificatesResolvers:
zerossl:
acme:
caServer: https://acme.zerossl.com/v2/DV90
email: tinkerer@example.org
storage: /acme/acme.json
dnsChallenge:
provider: route53
eab:
kid: s3cret
hmacEncoded: other-s3cret
metrics:
prometheus: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment