Skip to content
Snippets Groups Projects
Unverified Commit eba48c0f authored by steamport's avatar steamport Committed by GitHub
Browse files

Add Caddy example to README

parent c00f4d23
No related branches found
No related tags found
No related merge requests found
...@@ -652,6 +652,7 @@ Using a reverse proxy with Synapse ...@@ -652,6 +652,7 @@ Using a reverse proxy with Synapse
It is recommended to put a reverse proxy such as It is recommended to put a reverse proxy such as
`nginx <https://nginx.org/en/docs/http/ngx_http_proxy_module.html>`_, `nginx <https://nginx.org/en/docs/http/ngx_http_proxy_module.html>`_,
`Apache <https://httpd.apache.org/docs/current/mod/mod_proxy_http.html>`_ or `Apache <https://httpd.apache.org/docs/current/mod/mod_proxy_http.html>`_ or
`Caddy <https://caddyserver.com/docs/proxy>`_ or
`HAProxy <https://www.haproxy.org/>`_ in front of Synapse. One advantage of `HAProxy <https://www.haproxy.org/>`_ in front of Synapse. One advantage of
doing so is that it means that you can expose the default https port (443) to 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. Matrix clients without needing to run Synapse with root privileges.
...@@ -682,6 +683,11 @@ so an example nginx configuration might look like:: ...@@ -682,6 +683,11 @@ so an example nginx configuration might look like::
} }
} }
an example caddy configuration may look like::
proxy /_matrix http://localhost:8008 {
transparent
}
and an example apache configuration may look like:: and an example apache configuration may look like::
<VirtualHost *:443> <VirtualHost *:443>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment