mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-27 22:11:12 +00:00
Update docker-compose-command-config.yml
rename custom resolver
This commit is contained in:
parent
928928469d
commit
b7fa7069cc
|
@ -29,14 +29,14 @@ services:
|
||||||
- --api.insecure=true # expose traefik api dashboard on TCP/8080 without need for router
|
- --api.insecure=true # expose traefik api dashboard on TCP/8080 without need for router
|
||||||
####################################################
|
####################################################
|
||||||
# !!! ADJUST TO YOUR INFRASTRUCTURE SETUP BELOW !!!!
|
# !!! ADJUST TO YOUR INFRASTRUCTURE SETUP BELOW !!!!
|
||||||
- --entrypoints.https.http.tls.certresolver=cloudflare # define default cert resolver
|
- --entrypoints.https.http.tls.certresolver=myresolver # define default cert resolver
|
||||||
- --entrypoints.https.http.tls.domains[0].main=example.com # define main domain, change to your domain
|
- --entrypoints.https.http.tls.domains[0].main=example.com # define main domain, change to your domain
|
||||||
- --entrypoints.https.http.tls.domains[0].sans=*.example.com # define sans domain, change to your domain
|
- --entrypoints.https.http.tls.domains[0].sans=*.example.com # define sans domain, change to your domain
|
||||||
- --certificatesresolvers.cloudflare.acme.email=mycloudflareemail@domain.tld # define your cloudflare email address
|
- --certificatesresolvers.myresolver.acme.email=mycloudflareemail@domain.tld # define your cloudflare email address
|
||||||
- --certificatesresolvers.cloudflare.acme.dnschallenge=true # enable dns challenge to obtain wildcard certificates
|
- --certificatesresolvers.myresolver.acme.dnschallenge=true # enable dns challenge to obtain wildcard certificates
|
||||||
- --certificatesresolvers.cloudflare.acme.dnschallenge.provider=cloudflare # define provider for certificates
|
- --certificatesresolvers.myresolver.acme.dnschallenge.provider=cloudflare # define provider for certificates
|
||||||
- --certificatesresolvers.cloudflare.acme.storage=/etc/traefik/acme.json # define acme path for certificate information
|
- --certificatesresolvers.myresolver.acme.storage=/etc/traefik/acme.json # define acme path for certificate information
|
||||||
- --certificatesresolvers.cloudflare.acme.dnschallenge.resolvers=1.1.1.1:53,1.0.0.1:53 # define cloudflare dns servers as the resolver
|
- --certificatesresolvers.myresolver.acme.dnschallenge.resolvers=1.1.1.1:53,1.0.0.1:53 # define cloudflare dns servers as the resolver
|
||||||
####################################################
|
####################################################
|
||||||
- --log.level=INFO # enable log level
|
- --log.level=INFO # enable log level
|
||||||
- --accesslog=true # enable access logs
|
- --accesslog=true # enable access logs
|
||||||
|
|
Loading…
Reference in New Issue
Block a user