From 1160056cbec3ff046837b8c533caf77f546aee15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 26 Jul 2021 07:28:21 +0200 Subject: [PATCH] Testing (#18) * Set client_max_body_size to 50M --- README.md | 2 +- README_fr.md | 2 +- conf/nginx.conf | 2 ++ conf/php-fpm.conf | 4 ++-- manifest.json | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e274172..571f6a4 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Web-based groceries & household management solution for your home -**Shipped version:** 3.1.0~ynh1 +**Shipped version:** 3.1.0~ynh2 **Demo:** https://en.demo.grocy.info/stockoverview diff --git a/README_fr.md b/README_fr.md index 88f78ab..a0b69b0 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Solution Web de gestion d'épicerie et de gestion de la maison -**Version incluse :** 3.1.0~ynh1 +**Version incluse :** 3.1.0~ynh2 **Démo :** https://en.demo.grocy.info/stockoverview diff --git a/conf/nginx.conf b/conf/nginx.conf index 648af53..1994a8e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -10,6 +10,8 @@ location / { index index.php; + client_max_body_size 50M; + try_files $uri __PATH__/index.php; location ~ [^/]\.php(/|$) { diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index ab1a471..b4c2372 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -419,8 +419,8 @@ chdir = __FINALPATH__ ;php_admin_value[memory_limit] = 32M ; Common values to change to increase file upload limit -; php_admin_value[upload_max_filesize] = 50M -; php_admin_value[post_max_size] = 50M +php_admin_value[upload_max_filesize] = 50M +php_admin_value[post_max_size] = 50M ; php_admin_flag[mail.add_x_header] = Off ; Other common parameters diff --git a/manifest.json b/manifest.json index 4a77648..c25517e 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Web-based groceries & household management solution for your home", "fr": "Solution Web de gestion d'épicerie et de gestion de la maison" }, - "version": "3.1.0~ynh1", + "version": "3.1.0~ynh2", "url": "https://grocy.info", "upstream": { "license": "MIT",