mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
This reverts the additional changes done in merge request !1540 and sets the configuration to what was originally proposed in the merge request. - AllowEncodedSlashes can't be set inside <Location> directive. It needs to be set inside VirtualHost directive making it apply for the entire site. In case of FreedomBox, this needs to be set globally. It may have implications for how we are encoding slashes in URLs include for storage module. It could cause unexpected regressions elsewhere. - ProxyPass directory should have only argument inside a <Location> directive. Fix that too. Closes: #1635. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
10 lines
463 B
Plaintext
10 lines
463 B
Plaintext
##
|
|
## On all sites, provide Matrix Synapse on a default path: /_matrix. This is
|
|
## only useful for clients to login without specifying a server port. This is
|
|
## not useful for federation which requires SRV record or listening on port
|
|
## 8448. Further, federation requires same TLS public key to be provided to
|
|
## Apache and Matrix Synapse server.
|
|
##
|
|
ProxyPass /_matrix http://localhost:8008/_matrix nocanon
|
|
ProxyPassReverse /_matrix http://localhost:8008/_matrix
|