mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-21 20:24:00 +00:00
Added missing X-Forwarded-Proto header
This commit is contained in:
parent
aa6398a948
commit
b5ab31240f
@ -32,6 +32,7 @@
|
|||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyRequests Off
|
ProxyRequests Off
|
||||||
ProxyVia On
|
ProxyVia On
|
||||||
|
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
|
||||||
|
|
||||||
# Keep some URIs free for different proxy/location
|
# Keep some URIs free for different proxy/location
|
||||||
ProxyPassMatch ^/.well-known/matrix/client !
|
ProxyPassMatch ^/.well-known/matrix/client !
|
||||||
@ -111,6 +112,7 @@ Listen 8448
|
|||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
ProxyRequests Off
|
ProxyRequests Off
|
||||||
ProxyVia On
|
ProxyVia On
|
||||||
|
RequestHeader set "X-Forwarded-Proto" expr=%{REQUEST_SCHEME}
|
||||||
|
|
||||||
# Proxy all remaining traffic to the Synapse port
|
# 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
|
# Beware: In this example the local traffic goes to the local synapse server at 127.0.0.1
|
||||||
|
Loading…
Reference in New Issue
Block a user