mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 08:54:27 +01:00
Update traefik.yml
This commit is contained in:
@@ -101,7 +101,7 @@ entryPoints:
|
|||||||
http:
|
http:
|
||||||
tls:
|
tls:
|
||||||
# Generate a wildcard domain certificate
|
# Generate a wildcard domain certificate
|
||||||
certResolver: myresolver
|
certResolver: myresolver-dns
|
||||||
domains:
|
domains:
|
||||||
- main: example.com # change this to your proxy domain
|
- main: example.com # change this to your proxy domain
|
||||||
sans:
|
sans:
|
||||||
@@ -129,15 +129,20 @@ providers:
|
|||||||
|
|
||||||
# Use letsencrypt to generate ssl certificates
|
# Use letsencrypt to generate ssl certificates
|
||||||
certificatesResolvers:
|
certificatesResolvers:
|
||||||
myresolver:
|
# ACME HTTP CHALLENGE
|
||||||
|
myresolver-http:
|
||||||
|
acme:
|
||||||
|
email: example@example.com # the email address used for ssl certificate registration
|
||||||
|
storage: /etc/traefik/acme.json
|
||||||
|
httpChallenge: # acme http challenge; requires port 80 and proper dns entries
|
||||||
|
entryPoint: http # specify the entry point for the HTTP challenge (adjust if needed)
|
||||||
|
# ACME DNS CHALLENGE
|
||||||
|
myresolver-dns:
|
||||||
acme:
|
acme:
|
||||||
email: example@example.com # the email address used for ssl certificate registration
|
email: example@example.com # the email address used for ssl certificate registration
|
||||||
storage: /etc/traefik/acme.json
|
storage: /etc/traefik/acme.json
|
||||||
#httpChallenge: # acme http challenge; requires port 80 and proper dns entries
|
|
||||||
# entryPoint: http # specify the entry point for the HTTP challenge (adjust if needed)
|
|
||||||
dnsChallenge: # acme dns challenge; requires api token of dns provider
|
dnsChallenge: # acme dns challenge; requires api token of dns provider
|
||||||
provider: cloudflare
|
provider: cloudflare
|
||||||
# Used to make sure the dns challenge is propagated to the right dns servers
|
|
||||||
resolvers:
|
resolvers:
|
||||||
- "1.1.1.1:53"
|
- "1.1.1.1:53"
|
||||||
- "1.0.0.1:53"
|
- "1.0.0.1:53"
|
||||||
|
|||||||
Reference in New Issue
Block a user