Enable wildcard SSL for multi-site (network) #12

Open
opened 2 years ago by 3wordchant · 2 comments
Owner

Currently the ch subdomain is hard-coded:

- "traefik.http.routers.${STACK_NAME}.rule=Host(`ch.${DOMAIN}`, `${DOMAIN}`)"
# 3wc: this rule works for routing, but not for generating certificates
# see https://git.autonomic.zone/compose-stacks/planning/issues/14
#- "traefik.http.routers.${STACK_NAME}.rule=HostRegexp(`{subdomain:.+}.${DOMAIN}`, `${DOMAIN}`)"

I think we'll need to use a wildcard certificate as per compose-stacks/organising#14, which will mean configuring Gandi DNS access 🤔

Currently the `ch` subdomain is hard-coded: ``` - "traefik.http.routers.${STACK_NAME}.rule=Host(`ch.${DOMAIN}`, `${DOMAIN}`)" # 3wc: this rule works for routing, but not for generating certificates # see https://git.autonomic.zone/compose-stacks/planning/issues/14 #- "traefik.http.routers.${STACK_NAME}.rule=HostRegexp(`{subdomain:.+}.${DOMAIN}`, `${DOMAIN}`)" ``` I think we'll need to use a wildcard certificate as per compose-stacks/organising#14, which will mean configuring Gandi DNS access 🤔
Yeah, never done this. Refs: - https://doc.traefik.io/traefik/https/acme/#dnschallenge - https://doc.traefik.io/traefik/https/acme/#wildcard-domains
Poster
Owner
Also this walkthrough: https://medium.com/@containeroo/traefik-2-0-wildcard-lets-encrypt-certificates-1658370adc68
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/wordpress#12
Loading…
There is no content yet.