mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
matrix-synapse: Use recommended reverse proxy configuration
matrix-synapse reverse proxy configuration for Apache according to: https://github.com/matrix-org/synapse/blob/master/docs/reverse_proxy.rst Fixes #1533. [sunil@medhas.org Fix closing location directive] Tested-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
49088ef578
commit
4b8b2e171c
@ -5,4 +5,8 @@
|
||||
## 8448. Further, federation requires same TLS public key to be provided to
|
||||
## Apache and Matrix Synapse server.
|
||||
##
|
||||
ProxyPass /_matrix http://localhost:8008/_matrix
|
||||
<Location "/_matrix">
|
||||
AllowEncodedSlashes NoDecode
|
||||
ProxyPass /_matrix http://localhost:8008/_matrix nocanon
|
||||
ProxyPassReverse /_matrix http://localhost:8008/_matrix
|
||||
</Location>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user