From 5f8ee628d97db5d282ba1456c4a560dd926c9372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 11 Sep 2023 11:21:33 +0200 Subject: [PATCH] cleaning --- conf/extra_php-fpm.conf | 4 ++-- conf/nginx.conf | 2 +- manifest.toml | 10 +++++++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/conf/extra_php-fpm.conf b/conf/extra_php-fpm.conf index 700c37c..017da9e 100644 --- a/conf/extra_php-fpm.conf +++ b/conf/extra_php-fpm.conf @@ -1,4 +1,4 @@ ; Additional php.ini defines, specific to this pool of workers. -php_admin_value[upload_max_filesize] = 50M -php_admin_value[post_max_size] = 50M +php_admin_value[upload_max_filesize] = 256M +php_admin_value[post_max_size] = 256M diff --git a/conf/nginx.conf b/conf/nginx.conf index b28ef9b..d5b197b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,7 +7,7 @@ location __PATH__/ { index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file - client_max_body_size 50M; + client_max_body_size 256M; if (!-e $request_filename) { rewrite ^ __PATH__/index.php last; } diff --git a/manifest.toml b/manifest.toml index 2c7c93f..188314c 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Bludit" description.en = "Simple, Fast, Secure, Flat-File CMS" description.fr = "CMS simple, rapide, sécurisé et à fichier plat" -version = "3.15.0~ynh1" +version = "3.15.0~ynh2" maintainers = ["eric_G"] @@ -17,7 +17,7 @@ admindoc = "https://docs.bludit.com/en/" code = "https://github.com/bludit/bludit" [integration] -yunohost = ">= 11.1.21" +yunohost = ">= 11.2" architectures = "all" multi_instance = true ldap = false @@ -55,6 +55,10 @@ ram.runtime = "50M" [resources.permissions] main.url = "/" + api.url = "/api" + api.allowed = "visitors" + api.show_tile = false + api.protected = true [resources.apt] - packages = "php8.2-gd php8.2-mbstring php8.2-dom" + packages = "php8.2-gd, php8.2-mbstring, php8.2-dom"