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.

Revisions

  1. Fazendaaa created this gist Mar 12, 2021.
    31 changes: 31 additions & 0 deletions traefik.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,31 @@
    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"