From 0f99c7707c22d5c81754ce03cd5dfbba92c86c52 Mon Sep 17 00:00:00 2001 From: Dominik Rimpf Date: Thu, 3 Oct 2024 03:13:41 +0200 Subject: [PATCH] fix nginx config example without the proxy_http_version set to 1.1 version the avatar upload calls fail in the frontend with an NS_ERROR_NET_INTERRUPT error in Firefox so the resulting media id does not get propagated in the avatar field. This small config adjustment fixes this issue. --- maubot/usage/setup/reverse-proxy.md | 1 + 1 file changed, 1 insertion(+) diff --git a/maubot/usage/setup/reverse-proxy.md b/maubot/usage/setup/reverse-proxy.md index 7a4c723..6cfd77e 100644 --- a/maubot/usage/setup/reverse-proxy.md +++ b/maubot/usage/setup/reverse-proxy.md @@ -28,6 +28,7 @@ server { location /_matrix/maubot { proxy_pass http://localhost:29316; + proxy_http_version 1.1; proxy_set_header X-Forwarded-For $remote_addr; } ...