From 653c7cd342851c4c8c35a97e0cc5ab17c254dbd6 Mon Sep 17 00:00:00 2001 From: Dorian S Date: Tue, 29 Nov 2022 18:25:15 +0100 Subject: [PATCH] Add client_max_body_size MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the `client_max_body_size` as we need to authorize users to uploads files likes Pictures, CAO files, 3D modèles, etc. Set as the default `max_import_size` variable from the [Rails App secrets config](https://github.com/YunoHost-Apps/fab-manager_ynh/blob/master/conf/secrets.yml#L38). --- conf/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 6ed598f..63e23ca 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,7 +5,7 @@ location __PATH__/ { alias __FINALPATH__/; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file - #client_max_body_size 50M; + client_max_body_size 53M; try_files $uri/index.html $uri @puma;