Fix synapse-admin URL
It no longer supports being run on a subdirectory with the stock container
This commit is contained in:
parent
b513858893
commit
77e83fec6d
2 changed files with 9 additions and 4 deletions
|
@ -19,7 +19,7 @@ services:
|
|||
- db
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.synapse.rule=Host(`matrix.jakehoward.tech`) || Host(`matrix.theorangeone.net`)
|
||||
- traefik.http.routers.synapse.rule=Host(`matrix.jakehoward.tech`)
|
||||
networks:
|
||||
- default
|
||||
- traefik
|
||||
|
@ -45,9 +45,7 @@ services:
|
|||
restart: unless-stopped
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- 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
|
||||
- traefik.http.routers.synapse-admin.rule=Host(`synapse-admin.jakehoward.tech`)
|
||||
networks:
|
||||
- default
|
||||
- traefik
|
||||
|
|
|
@ -195,3 +195,10 @@ resource "cloudflare_record" "jakehowardtech_slides" {
|
|||
type = "CNAME"
|
||||
ttl = 1
|
||||
}
|
||||
resource "cloudflare_record" "jakehowardtech_matrix_admin" {
|
||||
zone_id = cloudflare_zone.jakehowardtech.id
|
||||
name = "synapse-admin"
|
||||
value = linode_instance.casey.ip_address
|
||||
type = "A"
|
||||
ttl = 1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue