Update Docker & Kubernetes/Docker/Docker Compose/Traefik.md
This commit is contained in:
@ -19,9 +19,10 @@
|
|||||||
CF_API_KEY=REDACTED-CLOUDFLARE-DOMAIN-API-KEY
|
CF_API_KEY=REDACTED-CLOUDFLARE-DOMAIN-API-KEY
|
||||||
```
|
```
|
||||||
|
|
||||||
If these are not set, Traefik will still work, but SSL certificates will not be issued from Let's Encrypt, and SSL traffic will be terminated using a self-signed Traefik-based certificate, which is only good for local testing.
|
If these are not set, Traefik will still work, but SSL certificates will not be issued from Let's Encrypt, and SSL traffic will be terminated using a self-signed Traefik-based certificate, which is only good for local non-production testing.
|
||||||
|
|
||||||
If you plan on using HTTP-based challenges, you will need to make the following changes in the docker-compose.yml data:
|
If you plan on using HTTP-based challenges, you will need to make the following changes in the docker-compose.yml data:
|
||||||
|
|
||||||
- Un-comment `"--certificatesresolvers.myresolver.acme.tlschallenge=true"`
|
- Un-comment `"--certificatesresolvers.myresolver.acme.tlschallenge=true"`
|
||||||
- Comment-out `"--certificatesresolvers.letsencrypt.acme.dnschallenge=true"`
|
- Comment-out `"--certificatesresolvers.letsencrypt.acme.dnschallenge=true"`
|
||||||
- Comment-out `"--certificatesresolvers.letsencrypt.acme.dnschallenge.provider=cloudflare"`
|
- Comment-out `"--certificatesresolvers.letsencrypt.acme.dnschallenge.provider=cloudflare"`
|
||||||
|
Reference in New Issue
Block a user