Created
August 30, 2017 16:57
-
-
Save joejulian/607f0090230d9aa8701155590c22c3e2 to your computer and use it in GitHub Desktop.
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
kind: ConfigMap | |
apiVersion: v1 | |
metadata: | |
name: traefik-https-cfg | |
namespace: kube-system | |
data: | |
traefik.toml: | | |
# traefik.toml | |
defaultEntryPoints = ["http","https"] | |
[entryPoints] | |
[entryPoints.http] | |
address = ":80" | |
[entryPoints.http.redirect] | |
entryPoint = "https" | |
[entryPoints.https] | |
address = ":443" | |
[entryPoints.https.tls] | |
[acme] | |
email = "[email protected]" | |
storageFile = "/etc/traefik/acme.json" | |
entryPoint = "https" | |
onDemand = true | |
onHostRule = true | |
caServer = "https://acme-v01.api.letsencrypt.org/directory" | |
# caServer = "https://acme-staging.api.letsencrypt.org/directory" | |
# [[acme.domains]] | |
# main = "julianfamily.org" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment