Stage 1 to support multiple domains
This commit is contained in:
parent
f6f4066532
commit
5e941cb055
@ -1,6 +1,8 @@
|
||||
TYPE=mailman3
|
||||
|
||||
DOMAIN=mailman3.example.com
|
||||
#EXTRA_DOMAINS=', `www.mailman3.example.com`'
|
||||
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
||||
SERVE_FROM_DOMAIN=${DOMAIN}
|
||||
|
@ -98,7 +98,7 @@ services:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.1.0+1.21.1"
|
||||
|
Loading…
Reference in New Issue
Block a user