summary refs log tree commit diff
diff options
context:
space:
mode:
authorNils <nils@nilsand.re>2023-07-31 13:25:06 +0200
committerGitHub <noreply@github.com>2023-07-31 13:25:06 +0200
commite02f4b7de287f49476ee5b60e3e439eb8bb11047 (patch)
tree259c97c5c31c972cd4494466df396d76f451326c
parentBump service-identity from 21.1.0 to 23.1.0 (#16038) (diff)
downloadsynapse-e02f4b7de287f49476ee5b60e3e439eb8bb11047.tar.xz
Do not expose Admin API in caddy reverse proxy example (#16027)
Signed-off-by: Nils ANDRÉ-CHANG <nils@nilsand.re>
-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
 }
 ```