Skip to content

Instantly share code, notes, and snippets.

@makasim
Created November 10, 2018 12:01
Show Gist options
  • Save makasim/2856a64e26639416a384955747ae90f4 to your computer and use it in GitHub Desktop.
Save makasim/2856a64e26639416a384955747ae90f4 to your computer and use it in GitHub Desktop.
Secure Docker Registry with Traefik and LetsEncrypt 2
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
[acme]
email = "[email protected]"
onHostRule = true
storage = "acme.json"
entryPoint = "https"
[acme.httpChallenge]
entryPoint = "http"
[[acme.domains]]
main = "registry.foobar.com"
sans = ["registry.foobar.com"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment