From e845fd24a27ba03a0bf3f8cb40f594fb8e7a115e Mon Sep 17 00:00:00 2001 From: Zoey Date: Thu, 19 Jan 2023 16:43:38 +0100 Subject: [PATCH 1/2] note on proxy_read_timeout Signed-off-by: Zoey --- reverse-proxy.md | 1 + 1 file changed, 1 insertion(+) diff --git a/reverse-proxy.md b/reverse-proxy.md index 86fdbf91..4fdfbb91 100644 --- a/reverse-proxy.md +++ b/reverse-proxy.md @@ -271,6 +271,7 @@ server { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_read_timeout 3600; # set it to the same value as this env: https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud client_max_body_size 0; # Websocket From 77922954b46f464dc030f7a278f7f0af3b765b98 Mon Sep 17 00:00:00 2001 From: Zoey Date: Thu, 19 Jan 2023 17:33:35 +0100 Subject: [PATCH 2/2] add suggestion Signed-off-by: Zoey --- reverse-proxy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reverse-proxy.md b/reverse-proxy.md index 4fdfbb91..5b90a943 100644 --- a/reverse-proxy.md +++ b/reverse-proxy.md @@ -271,7 +271,7 @@ server { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_read_timeout 3600; # set it to the same value as this env: https://github.com/nextcloud/all-in-one#how-to-adjust-the-max-execution-time-for-nextcloud + proxy_read_timeout 86400s; client_max_body_size 0; # Websocket