Skip to content

Instantly share code, notes, and snippets.

@Fazendaaa
Created March 12, 2021 03:06
Show Gist options
  • Select an option

  • Save Fazendaaa/d518f09567f50cda3018f00211bce5a1 to your computer and use it in GitHub Desktop.

Select an option

Save Fazendaaa/d518f09567f50cda3018f00211bce5a1 to your computer and use it in GitHub Desktop.
Traefik HTTPS example
global:
sendAnonymousUsage: false
api:
dashboard: true
insecure: true
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
watch: true
exposedByDefault: false
file:
filename: /etc/traefik/config.yml
watch: true
log:
level: INFO
format: common
entryPoints:
http:
address: ":80"
http:
redirections:
entryPoint:
to: https
scheme: https
https:
address: ":443"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment