summary refs log tree commit diff
path: root/README.rst
diff options
context:
space:
mode:
authorsteamport <steamport@protonmail.com>2018-10-19 19:58:28 +0000
committerGitHub <noreply@github.com>2018-10-19 19:58:28 +0000
commiteba48c0f16d08d5806da73d0b51d62de6aaee118 (patch)
tree621c5d228d262978f63269ee8368a4d19d41e6fe /README.rst
parentAdd warnings about the upgrade to 0.33.7 (diff)
downloadsynapse-eba48c0f16d08d5806da73d0b51d62de6aaee118.tar.xz
Add Caddy example to README
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index e1ea351f84..de133f674d 100644
--- a/README.rst
+++ b/README.rst
@@ -652,6 +652,7 @@ Using a reverse proxy with Synapse
 It is recommended to put a reverse proxy such as
 `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
+`Caddy <https://caddyserver.com/docs/proxy>`_ or
 `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
 Matrix clients without needing to run Synapse with root privileges.
@@ -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::
 
     <VirtualHost *:443>