From b5ab31240f9ea36272d4a4a687d7ea63c67e71d4 Mon Sep 17 00:00:00 2001 From: Toorero Date: Fri, 16 Jul 2021 18:28:27 +0200 Subject: [PATCH] Added missing X-Forwarded-Proto header --- examples/apache/matrix-synapse.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/apache/matrix-synapse.conf b/examples/apache/matrix-synapse.conf index e4266b81..497329de 100644 --- a/examples/apache/matrix-synapse.conf +++ b/examples/apache/matrix-synapse.conf @@ -32,6 +32,7 @@ ProxyPreserveHost On ProxyRequests Off ProxyVia On + RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME} # Keep some URIs free for different proxy/location ProxyPassMatch ^/.well-known/matrix/client ! @@ -111,6 +112,7 @@ Listen 8448 ProxyPreserveHost On ProxyRequests Off ProxyVia On + RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME} # Proxy all remaining traffic to the Synapse port # Beware: In this example the local traffic goes to the local synapse server at 127.0.0.1