From 62e4f4d26399ae31ef4b5e4cccee0cc86541df57 Mon Sep 17 00:00:00 2001 From: Ankit <61223051+ankit-pn@users.noreply.github.com> Date: Wed, 28 Dec 2022 15:50:33 +0530 Subject: [PATCH] Update reverse_proxy.md In issue #11895, the redirect from /_matrix/client to the URL configured in web_client_location was moved to the root URL (/). This change requires local administrators to update their proxy setups to include the root URL, as the current recommendations only include proxies for /_matrix/ and /_synapse/client/. This is necessary for the new location of the redirect to be effective. This issue was raised in #14722 by @sumpfralle --- docs/reverse_proxy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reverse_proxy.md b/docs/reverse_proxy.md index 48dbc1c58eca..e630612b6e55 100644 --- a/docs/reverse_proxy.md +++ b/docs/reverse_proxy.md @@ -67,7 +67,7 @@ server { server_name matrix.example.com; - location ~ ^(/_matrix|/_synapse/client) { + location ~ ^(/_matrix|/_synapse/client|/$) { # note: do not add a path (even a single /) after the port in `proxy_pass`, # otherwise nginx will canonicalise the URI and cause signature verification # errors.