Fix matrix federation

This commit is contained in:
Jade Ellis 2024-10-19 12:31:41 +01:00
parent da698b6eea
commit 085df57d84
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
4 changed files with 20 additions and 2 deletions

View file

@ -21,7 +21,7 @@ Label="traefik.enable=true"
Label="traefik.http.routers.conduwuit-testing.rule=(Host(`matrix.pissing.dev`) || (Host(`pissing.dev`) && PathPrefix(`/.well-known/matrix`)))"
Label="traefik.http.services.conduwuit-testing.loadbalancer.server.port=6167"
Label="traefik.http.routers.conduwuit-testing.entrypoints=https"
Label="traefik.http.routers.conduwuit-testing.entrypoints=https,matrix"
Label="traefik.http.routers.conduwuit-testing.tls.certresolver=letsencrypt"
# Label="traefik.http.routers.conduwuit-testing.tls.options=intermediate@file"

View file

@ -21,7 +21,7 @@ Label="traefik.enable=true"
Label="traefik.http.routers.conduwuit.rule=(Host(`matrix.ellis.link`) || (Host(`ellis.link`) && PathPrefix(`/.well-known/matrix`)))"
Label="traefik.http.services.conduwuit.loadbalancer.server.port=6167"
Label="traefik.http.routers.conduwuit.entrypoints=https"
Label="traefik.http.routers.conduwuit.entrypoints=https,matrix"
Label="traefik.http.routers.conduwuit.tls.certresolver=letsencrypt"
# Label="traefik.http.routers.conduwuit.tls.options=intermediate@file"

View file

@ -20,6 +20,12 @@ PublishPort=[::]:80:80/tcp
PublishPort=[::]:443:443/tcp
PublishPort=[::]:443:443/udp
# Matrix
PublishPort=0.0.0.0:8448:8448/tcp
PublishPort=0.0.0.0:8448:8448/udp
PublishPort=[::]:8448:8448/tcp
PublishPort=[::]:8448:8448/udp
# PublishPort=8448:8448/tcp
ReadOnly=true
Volume=/run/podman/podman.sock:/var/run/docker.sock:z

View file

@ -14,6 +14,10 @@ address = ":80"
address = ":443"
[entrypoints.https.http3]
[entrypoints.matrix]
address = ":8448"
[entrypoints.matrix.http3]
[entryPoints.http.proxyProtocol]
insecure = false
trustedIPs = [ ]
@ -30,6 +34,14 @@ trustedIPs = [ ]
insecure = false
trustedIPs = [ ]
[entryPoints.matrix.proxyProtocol]
insecure = false
trustedIPs = [ ]
[entryPoints.matrix.forwardedHeaders]
insecure = false
trustedIPs = [ ]
[entrypoints.http.http.redirections.entryPoint]
to="https"
scheme = "https"