From 74899f8c61d199278952390ffab9e3f373f0126e Mon Sep 17 00:00:00 2001 From: Zoey Date: Thu, 16 Apr 2026 22:07:31 +0200 Subject: [PATCH 1/2] update reverse proxy docs for NPM and NPMplus Signed-off-by: Zoey --- reverse-proxy.md | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/reverse-proxy.md b/reverse-proxy.md index 7816d0cf..d5fd5b5c 100644 --- a/reverse-proxy.md +++ b/reverse-proxy.md @@ -573,13 +573,19 @@ Note: this will cause that a non root user can bind privileged ports. Second, see these screenshots for a working config: -image +grafik -image +grafik -image +grafik -image +grafik + +The "Enable compression by upstream, not recommended" Button can stay unchecked if you don't use Collabora. (https://github.com/CollaboraOnline/online/issues/10157)
+You may need to check the "Disable Crowdsec Appsec" Button if you use crowdsec and uploads or downloads fail.
+You may want to enable the "Disable Request/Response Buffering" Button since it could improve uploads and downloads.
+You can check the "Send noindex header and block some user agents" Button If you don't want your Nextcloud to be indexed by web crawlers like google.
+If you want/need you can also configure Auth Request/mTLS if needed or change the X-Frame-Options header if you want to embed Nextcloud. ⚠️ **Please note:** look into [this](#adapting-the-sample-web-server-configurations-below) to adapt the above example configuration. @@ -599,22 +605,22 @@ Note: this will cause that a non root user can bind privileged ports. Second, see these screenshots for a working config: -![grafik](https://user-images.githubusercontent.com/75573284/213889707-b7841ca0-3ea7-4321-acf6-50e1c1649442.png) +grafik -![grafik](https://user-images.githubusercontent.com/75573284/213889724-1ab32264-3e0c-4d83-b067-9fe9d1672fb2.png) +grafik -![grafik](https://github.com/nextcloud/all-in-one/assets/24786786/fecbb5ef-d2f4-4e0f-bc4b-82207e2c2809) +grafik + +grafik -![grafik](https://user-images.githubusercontent.com/75573284/213889746-87dbe8c5-4d1f-492f-b251-bbf82f1510d0.png) ``` -client_body_buffer_size 512k; -client_max_body_size 0; - # The default NEXTCLOUD_MAX_TIME value is 3600 seconds. # By setting proxy_read_timeout 10 seconds higher than that, we make sure that always Nextcloud times out and not NPM. # If you increased NEXTCLOUD_MAX_TIME, increase the timeout below accordingly. proxy_read_timeout 3610s; + +client_max_body_size 0; # This controls the maximum upload size, 0 means unlimited ``` ⚠️ **Please note:** look into [this](#adapting-the-sample-web-server-configurations-below) to adapt the above example configuration. From 45fa1a0721f9e62df6a0647b0d8172769b266e34 Mon Sep 17 00:00:00 2001 From: Zoey Date: Fri, 17 Apr 2026 14:14:07 +0200 Subject: [PATCH 2/2] Update reverse-proxy.md Co-authored-by: Simon L. Signed-off-by: Zoey --- reverse-proxy.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/reverse-proxy.md b/reverse-proxy.md index d5fd5b5c..0841b68f 100644 --- a/reverse-proxy.md +++ b/reverse-proxy.md @@ -581,11 +581,13 @@ Second, see these screenshots for a working config: grafik -The "Enable compression by upstream, not recommended" Button can stay unchecked if you don't use Collabora. (https://github.com/CollaboraOnline/online/issues/10157)
-You may need to check the "Disable Crowdsec Appsec" Button if you use crowdsec and uploads or downloads fail.
-You may want to enable the "Disable Request/Response Buffering" Button since it could improve uploads and downloads.
-You can check the "Send noindex header and block some user agents" Button If you don't want your Nextcloud to be indexed by web crawlers like google.
-If you want/need you can also configure Auth Request/mTLS if needed or change the X-Frame-Options header if you want to embed Nextcloud. + +- The "Enable compression by upstream, not recommended" Button can stay unchecked if you don't use Collabora. (https://github.com/CollaboraOnline/online/issues/10157)
+- You may need to check the "Disable Crowdsec Appsec" Button if you use crowdsec and uploads or downloads fail.
+- You may want to enable the "Disable Request/Response Buffering" Button since it could improve uploads and downloads.
+- You can check the "Send noindex header and block some user agents" Button If you don't want your Nextcloud to be indexed by web crawlers like google.
+- If you want/need you can also configure Auth Request/mTLS if needed or change the X-Frame-Options header if you want to embed Nextcloud. + ⚠️ **Please note:** look into [this](#adapting-the-sample-web-server-configurations-below) to adapt the above example configuration.