From bd7bf9946facb5e3dbd22d9d344b9b2db0802fe2 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Sun, 7 Jan 2024 18:42:39 +0100 Subject: [PATCH] Increase upload limit taken from nextcloud_ynh --- conf/nginx.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index ac71459..7d8b397 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -9,6 +9,11 @@ location __PATH__/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Host $server_name; proxy_set_header X-Forwarded-Port $server_port; + + # Set max upload size + client_max_body_size 10G; + client_body_timeout 300s; + fastcgi_buffers 64 4K; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade;