Created
December 14, 2020 10:07
-
-
Save daloulou/0012a2072c27d47080b4f3c94c005939 to your computer and use it in GitHub Desktop.
Traefik static configuration file to add SSL on Azure Container Instance
This file contains 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
defaultEntryPoints = ["http", "https"] | |
[acceslog] | |
[entryPoints] | |
[entryPoints.http] | |
address = ":80" | |
[entryPoints.http.http] | |
[entryPoints.http.http.redirections] | |
[entryPoints.http.http.redirections.entryPoint] | |
to = "https" | |
scheme = "https" | |
[entryPoints.https] | |
address = ":443" | |
[entryPoints.https.http.tls] | |
certResolver = "le" | |
[log] | |
level="DEBUG" | |
[api] | |
dashboard = true | |
[providers] | |
[providers.file] | |
filename = "/etc/traefik/services/example-api.toml" | |
[certificatesResolvers.le.acme] | |
storage = "/acme.json" | |
email = "youremailadress" | |
caServer = "https://acme-v02.api.letsencrypt.org/directory" | |
[certificatesResolvers.le.acme.httpChallenge] | |
entryPoint = "http" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment