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

Open
opened 2020-10-02 11:22:06 +00:00 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 🤔
Owner
Yeah, never done this. Refs: - https://doc.traefik.io/traefik/https/acme/#dnschallenge - https://doc.traefik.io/traefik/https/acme/#wildcard-domains
Author
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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/wordpress#12
No description provided.