matrix: correct synapse proxied paths

This commit is contained in:
Johanna Dorothea Reichmann 2020-04-21 20:32:10 +02:00 committed by jdreichmann
parent 966482c47d
commit cd9d22f484
Signed by untrusted user who does not match committer: transcaffeine
GPG Key ID: 03624C433676E465

View File

@ -14,11 +14,17 @@ https://matrix.finallycoffee.eu {
proxy /_matrix/federation matrix-synapse:8048 { proxy /_matrix/federation matrix-synapse:8048 {
transparent transparent
} }
proxy /_matrix/key matrix-synapse:8048 {
transparent
}
proxy /_matrix matrix-synapse:8008 { proxy /_matrix matrix-synapse:8008 {
header_downstream Access-Control-Allow-Methods "GET, POST, PUT, DELETE, OPTIONS" 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" header_downstream Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, Authorization"
transparent transparent
} }
proxy / https://finallycoffee.eu/.well-known/matrix {
except /_matrix
}
} }
https://dimension.matrix.finallycoffee.eu { https://dimension.matrix.finallycoffee.eu {
@ -44,6 +50,7 @@ https://chat.finallycoffee.eu {
https://finallycoffee.eu/.well-known/matrix/ { https://finallycoffee.eu/.well-known/matrix/ {
tls /tls_certs/finallycoffee.eu/fullchain.pem /tls_certs/finallycoffee.eu/privkey.pem tls /tls_certs/finallycoffee.eu/fullchain.pem /tls_certs/finallycoffee.eu/privkey.pem
root /matrix_static root /matrix_static
index index index.json
mime . application/json mime . application/json
header / { header / {
Content-Type "application/json" Content-Type "application/json"