Created
May 17, 2020 16:54
-
-
Save McFateM/1d15b4e2bd992d1883de5f12e31dc6c3 to your computer and use it in GitHub Desktop.
DGDocker3 HTTP-01 Challenge with LE Staging
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
╭─mcfatem@dgdocker3 /opt/containers/traefik/data ‹master*› | |
╰─$ cat traefik.yml | |
api: | |
dashboard: true | |
entryPoints: | |
http: | |
address: ":80" | |
https: | |
address: ":443" | |
providers: | |
docker: | |
endpoint: "unix:///var/run/docker.sock" | |
exposedByDefault: false | |
# ## for HTTP-01 challenge | |
certificatesResolvers: | |
http: | |
acme: | |
# - Uncomment caServer line below to run on the staging let's encrypt server. Leave comment to go to prod. | |
caServer: https://acme-staging-v02.api.letsencrypt.org/directory | |
email: digital@grinnell.edu | |
storage: acme.json | |
httpChallenge: | |
entryPoint: http | |
## for DNS-01 challenge | |
# certificatesResolvers: | |
# http: | |
# acme: | |
# # - Uncomment caServer line below to run on the staging Let's Encrypt server. Leave comment to go to prod. | |
# #caServer: https://acme-staging-v02.api.letsencrypt.org/directory | |
# email: digital@grinnell.edu | |
# storage: acme.json | |
# dnsChallenge: | |
# provider: azure | |
environment: | |
AZURE_CLIENT_ID: "${AZURE_CLIENT_ID}" | |
AZURE_CLIENT_SECRET: "${AZURE_CLIENT_SECRET}" | |
AZURE_SUBSCRIPTION_ID: "${AZURE_SUBSCRIPTION_ID}" | |
AZURE_TENANT_ID: "${AZURE_TENANT_ID}" | |
AZURE_DNS_ZONE: "${AZURE_DNS_ZONE}" | |
AZURE_RESOURCE_GROUP: "${AZURE_RESOURCE_GROUP}" | |
log: | |
level: DEBUG | |
filePath: "/var/log/traefik.log" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment