mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 17:04:27 +01:00
chore: adjust default tls
Updated TLS configuration to use dynamically generated certificates and commented out previous domain settings.
This commit is contained in:
@@ -25,9 +25,10 @@ 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=myresolver-dns" # define default cert resolver
|
- "--entrypoints.https.http.tls={}" # use dynamically generated cert
|
||||||
- "--entrypoints.https.http.tls.domains[0].main=example.com" # define main domain, change to your domain
|
#- "--entrypoints.https.http.tls.certresolver=myresolver-dns" # define default cert resolver
|
||||||
- "--entrypoints.https.http.tls.domains[0].sans=*.example.com" # define sans 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
|
||||||
- "--certificatesresolvers.myresolver-dns.acme.email=myemail@domain.tld" # define your email address
|
- "--certificatesresolvers.myresolver-dns.acme.email=myemail@domain.tld" # define your email address
|
||||||
- "--certificatesresolvers.myresolver-dns.acme.dnschallenge=true" # enable dns challenge to obtain wildcard certificates
|
- "--certificatesresolvers.myresolver-dns.acme.dnschallenge=true" # enable dns challenge to obtain wildcard certificates
|
||||||
- "--certificatesresolvers.myresolver-dns.acme.dnschallenge.provider=cloudflare" # define provider for certificates
|
- "--certificatesresolvers.myresolver-dns.acme.dnschallenge.provider=cloudflare" # define provider for certificates
|
||||||
|
|||||||
Reference in New Issue
Block a user