Sfoglia il codice sorgente

Merge pull request #1182 from Toorero/fix-missing-proto-header

Added missing X-Forwarded-Proto header
pull/1190/head
Slavi Pantaleev 4 anni fa
committed by GitHub
parent
commit
635b0cf670
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      examples/apache/matrix-synapse.conf

+ 2
- 0
examples/apache/matrix-synapse.conf Vedi File

@@ -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


Caricamento…
Annulla
Salva