From cd9d22f4841406d3f7887228404c4750d70d428a Mon Sep 17 00:00:00 2001 From: Johanna Dorothea Reichmann Date: Tue, 21 Apr 2020 20:32:10 +0200 Subject: [PATCH] matrix: correct synapse proxied paths --- webhosts/matrix/Caddyfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/webhosts/matrix/Caddyfile b/webhosts/matrix/Caddyfile index 37fbce9..0c1a750 100755 --- a/webhosts/matrix/Caddyfile +++ b/webhosts/matrix/Caddyfile @@ -14,11 +14,17 @@ https://matrix.finallycoffee.eu { proxy /_matrix/federation matrix-synapse:8048 { transparent } + proxy /_matrix/key matrix-synapse:8048 { + transparent + } proxy /_matrix matrix-synapse:8008 { header_downstream Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS" header_downstream Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, Authorization" transparent } + proxy / https://finallycoffee.eu/.well-known/matrix { + except /_matrix + } } https://dimension.matrix.finallycoffee.eu { @@ -44,6 +50,7 @@ https://chat.finallycoffee.eu { https://finallycoffee.eu/.well-known/matrix/ { tls /tls_certs/finallycoffee.eu/fullchain.pem /tls_certs/finallycoffee.eu/privkey.pem root /matrix_static + index index index.json mime . application/json header / { Content-Type "application/json"