Skip to content

Instantly share code, notes, and snippets.

@supanadit
Created June 28, 2025 03:21
Show Gist options
  • Select an option

  • Save supanadit/0e123a0fb06ce2ba4a686a448e56cb0d to your computer and use it in GitHub Desktop.

Select an option

Save supanadit/0e123a0fb06ce2ba4a686a448e56cb0d to your computer and use it in GitHub Desktop.
[api]
dashboard = true
[entryPoints]
[entryPoints.web]
address = ":80"
# Uncomment this at production for redirecting to HTTPS automatically
# [entryPoints.web.http.redirections.entryPoint]
# to = "websecure"
# scheme = "https"
# permanent = true
[entryPoints.websecure]
address = ":443"
[providers]
[providers.docker]
endpoint = "unix:///var/run/docker.sock"
watch = true
[providers.file]
directory = "/etc/traefik"
filename = "dynamic-conf.toml"
watch = true
[certificatesResolvers.lets-encrypt.acme]
email = "[email protected]"
storage = "acme.json"
[certificatesResolvers.lets-encrypt.acme.tlsChallenge]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment