diff --git a/README.rst b/README.rst
index bb99f4fe2b450eb8f00079a3e2b6ead5e4943f4d..b42a96a34c5fe0a4c517ca5d923ff4a1304343f3 100644
--- a/README.rst
+++ b/README.rst
@@ -684,9 +684,10 @@ so an example nginx configuration might look like::
   }
 
 an example caddy configuration may look like::
-
-    proxy /_matrix http://localhost:8008 {
-      transparent
+    example.com {
+      proxy /_matrix http://localhost:8008 {
+        transparent
+      }
     }
 
 and an example apache configuration may look like::