revert: switch back to HTTP-01 until Cloudflare NS propagation
DNS-01 + wildcard cert requires Cloudflare to be authoritative NS. Until propagation completes, use httpChallenge on port 80. Plan after Cloudflare NS is active: 1. Switch back to dnsChallenge in traefik.yml.j2 2. Re-enable tls.stores.default.defaultGeneratedCert in routes.yml.j2 3. Clear acme.json → Traefik issues *.csrx.ru wildcard cert Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
0496e9ab61
commit
f183fe485f
2 changed files with 5 additions and 18 deletions
|
|
@ -1,18 +1,8 @@
|
||||||
# Traefik dynamic routing config — generated by Ansible
|
# Traefik dynamic routing config — generated by Ansible
|
||||||
# Do not edit manually; re-run ansible-playbook deploy.yml
|
# Do not edit manually; re-run ansible-playbook deploy.yml
|
||||||
|
|
||||||
# ── Wildcard TLS certificate via Cloudflare DNS-01 ────────────────────────────
|
# NOTE: wildcard cert (*.csrx.ru) будет включён после переноса NS на Cloudflare.
|
||||||
# One cert covers ALL *.csrx.ru subdomains + root csrx.ru.
|
# Тогда переключим ACME на dnsChallenge и добавим tls.stores.default.defaultGeneratedCert
|
||||||
# Adding a new service = zero cert wait time, Traefik reuses this cert.
|
|
||||||
tls:
|
|
||||||
stores:
|
|
||||||
default:
|
|
||||||
defaultGeneratedCert:
|
|
||||||
resolver: letsencrypt
|
|
||||||
domain:
|
|
||||||
main: "*.{{ domain_base }}"
|
|
||||||
sans:
|
|
||||||
- "{{ domain_base }}"
|
|
||||||
|
|
||||||
http:
|
http:
|
||||||
routers:
|
routers:
|
||||||
|
|
|
||||||
|
|
@ -93,12 +93,9 @@ certificatesResolvers:
|
||||||
acme:
|
acme:
|
||||||
email: "{{ acme_email }}"
|
email: "{{ acme_email }}"
|
||||||
storage: /acme/acme.json
|
storage: /acme/acme.json
|
||||||
dnsChallenge:
|
# TODO: switch to dnsChallenge after Cloudflare NS propagation
|
||||||
provider: cloudflare
|
httpChallenge:
|
||||||
# Use Cloudflare DNS resolvers to avoid propagation delays
|
entryPoint: web
|
||||||
resolvers:
|
|
||||||
- "1.1.1.1:53"
|
|
||||||
- "1.0.0.1:53"
|
|
||||||
|
|
||||||
providers:
|
providers:
|
||||||
file:
|
file:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue