Add traefik.domain label

This commit is contained in:
D. Scott Boggs 2023-12-30 09:06:36 -05:00
parent 2040619fb4
commit bac5c10db9

View file

@ -58,6 +58,7 @@ services:
- /srv/data/conduit/nginx-www:/var/www/ # location of the client and server .well-known-files - /srv/data/conduit/nginx-www:/var/www/ # location of the client and server .well-known-files
labels: labels:
traefik.enable: true traefik.enable: true
traefik.domain: ${TRAEFIK_DOMAIN:-techwork.zone}
traefik.docker.network: proxy traefik.docker.network: proxy
traefik.http.routers.to-matrix-wellknown.rule: Host(`${DOMAIN}`) && PathPrefix(`/.well-known/matrix`) traefik.http.routers.to-matrix-wellknown.rule: Host(`${DOMAIN}`) && PathPrefix(`/.well-known/matrix`)
traefik.http.routers.to-matrix-wellknown.tls: true traefik.http.routers.to-matrix-wellknown.tls: true