Created
August 4, 2022 05:52
-
-
Save nikhiljohn10/47c9c076c9855ce179d7430c775cd0c3 to your computer and use it in GitHub Desktop.
Traefik Configuration with TLS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global: | |
| checkNewVersion: true | |
| sendAnonymousUsage: false | |
| log: | |
| level: ERROR | |
| filePath: /var/log/traefik-log.log | |
| accessLog: | |
| filePath: /var/log/traefik-access.log | |
| entryPoints: | |
| web: | |
| address: ":80" | |
| http: | |
| redirections: | |
| entryPoint: | |
| to: websecure | |
| websecure: | |
| address: :443 | |
| providers: | |
| docker: | |
| endpoint: "unix:///var/run/docker.sock" | |
| exposedByDefault: false | |
| network: donet | |
| tls: | |
| certificates: | |
| - certFile: "/certs/domain.crt" | |
| keyFile: "/certs/domain.key" | |
| stores: | |
| - default | |
| stores: | |
| default: | |
| defaultCertificate: | |
| certFile: "/certs/domain.crt" | |
| keyFile: "/certs/domain.key" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment