From ffa3e882ff0b340d3f4fdc7d66d03285215e87bc Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 3 Jul 2022 00:31:12 +0200 Subject: [PATCH] 2.22.2 --- conf/nginx.conf | 6 +++--- manifest.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 23fd3ab..9447ce4 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,8 +5,6 @@ location __PATH__/ { proxy_buffers 8 32k; proxy_buffer_size 64k; - client_max_body_size 100M; - proxy_pass http://127.0.0.1:__PORT__; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; @@ -18,5 +16,7 @@ location __PATH__/ { proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; - proxy_read_timeout 999999999; + client_max_body_size 2048m; + proxy_read_timeout 86400s; + proxy_send_timeout 86400s; } diff --git a/manifest.json b/manifest.json index 3903e7c..a5e152c 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Web File Browser", "fr": "Gestionnaire de fichiers" }, - "version": "2.22.1~ynh1", + "version": "2.22.2~ynh1", "url": "https://filebrowser.org", "upstream": { "license": "Apache-2.0",