-
-
Save cdaringe/6e51b87ad176c95153b951b111c4b1cb to your computer and use it in GitHub Desktop.
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
checkNewVersion = false | |
debug = true | |
defaultEntryPoints = ["http", "https"] # fear not, we redirect below | |
logLevel = "ERROR" | |
watch = true | |
# To redirect an http entrypoint to an https entrypoint (with SNI support): | |
[entryPoints] | |
[entryPoints.http] | |
address = ":80" | |
[entryPoints.http.redirect] | |
entryPoint = "https" | |
[entryPoints.https] | |
address = ":443" | |
[entryPoints.https.tls] | |
MinVersion = "VersionTLS12" | |
[[entryPoints.https.tls.certificates]] | |
CertFile = "/www/certs/server.crt" | |
KeyFile = "/www/certs/server.key" | |
[docker] | |
endpoint = "unix:///var/run/docker.sock" | |
domain = "docker.local" | |
watch = true | |
exposedbydefault = false | |
[acme] | |
email = "<my-email>" | |
storage = "acme.json" | |
entryPoint = "https" | |
onHostRule = true | |
[[acme.domains]] | |
main = "*.cdaringe.com" | |
sans = ["cdaringe.com"] | |
[[acme.domains]] | |
main = "*.senorsalsa.org" | |
sans = ["senorsalsa.org"] | |
[acme.dnsChallenge] | |
provider = "digitalocean" # i am providing the auth token! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment