mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-14 09:45:51 +00:00
Merge acb34314b9
into fda1ffe5b8
This commit is contained in:
commit
5f777021ea
2 changed files with 5 additions and 2 deletions
|
@ -56,6 +56,8 @@ It is recommended to put a reverse proxy such as
|
|||
`relayd <https://man.openbsd.org/relayd.8>`_ in front of Synapse. One advantage of
|
||||
doing so is that it means that you can expose the default https port (443) to
|
||||
Matrix clients without needing to run Synapse with root privileges.
|
||||
Another important advantage is that such a reverse proxy is better suited for
|
||||
handling TLS, in particular for managing the needed credentials (certificate etc.).
|
||||
For information on configuring one, see `the reverse proxy docs
|
||||
<https://element-hq.github.io/synapse/latest/reverse_proxy.html>`_.
|
||||
|
||||
|
|
|
@ -7,8 +7,9 @@ It is recommended to put a reverse proxy such as
|
|||
[HAProxy](https://www.haproxy.org/) or
|
||||
[relayd](https://man.openbsd.org/relayd.8) in front of Synapse. One advantage
|
||||
of doing so is that it means that you can expose the default https port
|
||||
(443) to Matrix clients without needing to run Synapse with root
|
||||
privileges.
|
||||
(443) to Matrix clients without needing to run Synapse with root privileges.
|
||||
Another important advantage is that such a reverse proxy is better suited for
|
||||
handling TLS, in particular for managing the needed credentials (certificate etc.).
|
||||
|
||||
You should configure your reverse proxy to forward requests to `/_matrix` or
|
||||
`/_synapse/client` to Synapse, and have it set the `X-Forwarded-For` and
|
||||
|
|
Loading…
Add table
Reference in a new issue