Add an additional domain for matrix

I'll migrate over to this eventually. But doing a hard migration has just wasted my entire evening...
This commit is contained in:
Jake Howard
2022-02-13 20:54:46 +00:00
parent 722b964bc9
commit 6b63c2685b
2 changed files with 10 additions and 2 deletions

View File

@ -17,7 +17,7 @@ services:
- db
labels:
- traefik.enable=true
- traefik.http.routers.synapse.rule=Host(`matrix.jakehoward.tech`)
- traefik.http.routers.synapse.rule=Host(`matrix.jakehoward.tech`) || Host(`matrix.theorangeone.net`)
networks:
- default
- traefik
@ -43,7 +43,7 @@ services:
restart: unless-stopped
labels:
- traefik.enable=true
- traefik.http.routers.synapse-admin.rule=Host(`matrix.jakehoward.tech`) && PathPrefix(`/admin`)
- traefik.http.routers.synapse-admin.rule=Host(`matrix.theorangeone.net`) && PathPrefix(`/admin`)
- traefik.http.middlewares.synapse-admin-path.stripprefix.prefixes=/admin
- traefik.http.routers.synapse-admin.middlewares=synapse-admin-path@docker
networks: