summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/16027.doc1
-rw-r--r--docs/reverse_proxy.md2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/16027.doc b/changelog.d/16027.doc
new file mode 100644
index 0000000000..201e88d6b6
--- /dev/null
+++ b/changelog.d/16027.doc
@@ -0,0 +1 @@
+Do not expose Admin API in caddy reverse proxy example. Contributed by @NilsIrl.
diff --git a/docs/reverse_proxy.md b/docs/reverse_proxy.md
index 06337e7c00..fe9519b4b6 100644
--- a/docs/reverse_proxy.md
+++ b/docs/reverse_proxy.md
@@ -95,7 +95,7 @@ matrix.example.com {
 }
 
 example.com:8448 {
-  reverse_proxy localhost:8008
+  reverse_proxy /_matrix/* localhost:8008
 }
 ```