From 113cd76c6a330f9cf45a1d25c1bb9c7d75efcba1 Mon Sep 17 00:00:00 2001 From: Zoey Date: Sat, 8 Mar 2025 18:28:07 +0100 Subject: [PATCH 1/2] add workarround to NPMplus reverse proxy example to fix collabora #6104 Signed-off-by: Zoey --- reverse-proxy.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/reverse-proxy.md b/reverse-proxy.md index 52f917a2..4d47f283 100644 --- a/reverse-proxy.md +++ b/reverse-proxy.md @@ -478,7 +478,9 @@ Second, see these screenshots for a working config: ![grafik](https://github.com/user-attachments/assets/c32c8fe8-7417-4f8f-9625-24b95651e630) -![grafik](https://github.com/user-attachments/assets/a26c53fd-6cc8-4a6b-a86f-c2f94b70088f) + + +![grafik](https://github.com/user-attachments/assets/8cd25455-51fa-4e47-8af1-362bda8bb902) ![grafik](https://github.com/user-attachments/assets/75d7f539-35d1-4a3e-8c51-43123f698893) From 47df5053c8dc7c176b73d00155593f329cfade3b Mon Sep 17 00:00:00 2001 From: Zoey Date: Sat, 8 Mar 2025 18:30:29 +0100 Subject: [PATCH 2/2] Update reverse-proxy.md Signed-off-by: Zoey --- reverse-proxy.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reverse-proxy.md b/reverse-proxy.md index 4d47f283..a2b00abd 100644 --- a/reverse-proxy.md +++ b/reverse-proxy.md @@ -478,14 +478,16 @@ Second, see these screenshots for a working config: ![grafik](https://github.com/user-attachments/assets/c32c8fe8-7417-4f8f-9625-24b95651e630) - +![grafik](https://github.com/user-attachments/assets/f14bba5c-69ce-4514-a2ac-5e5d7fb97792) -![grafik](https://github.com/user-attachments/assets/8cd25455-51fa-4e47-8af1-362bda8bb902) + ![grafik](https://github.com/user-attachments/assets/75d7f539-35d1-4a3e-8c51-43123f698893) ![grafik](https://github.com/user-attachments/assets/e494edb5-8b70-4d45-bc9b-374219230041) +`proxy_set_header Accept-Encoding $http_accept_encoding;` + ⚠️ **Please note:** Nextcloud will complain that X-XXS-Protection is set to the wrong value, this is intended by NPMplus.
⚠️ **Please note:** look into [this](#adapting-the-sample-web-server-configurations-below) to adapt the above example configuration.