Préparer le paquet Globinours 1.0.0-rc.3

This commit is contained in:
Alex Noel 2026-09-03 22:12:02 +02:00
commit 1a5401e30d
14 changed files with 53 additions and 40 deletions

2
conf/extra_php-fpm.conf Normal file
View file

@ -0,0 +1,2 @@
php_admin_value[max_execution_time] = 600
php_admin_value[open_basedir] = __INSTALL_DIR__:__DATA_DIR__:/tmp:/usr/share/php

View file

@ -1,12 +1,13 @@
location __PATH__/ {
alias __INSTALL_DIR__/public/;
index index.php;
client_max_body_size 260M;
try_files $uri $uri/ __PATH__/index.php?$query_string;
location ~ /\. { deny all; }
location = __PATH__/index.php {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME __INSTALL_DIR__/public/index.php;
fastcgi_param HTTP_PROXY "";
fastcgi_pass unix:/var/run/php/php8.2-fpm-__APP__.sock;
fastcgi_pass unix:/var/run/php/php__PHP_VERSION__-fpm-__APP__.sock;
}
}

View file

@ -1,13 +0,0 @@
[__APP__]
user = __APP__
group = __APP__
listen = /var/run/php/php8.2-fpm-__APP__.sock
listen.owner = www-data
listen.group = www-data
pm = ondemand
pm.max_children = 8
pm.process_idle_timeout = 10s
php_admin_value[upload_max_filesize] = 250M
php_admin_value[post_max_size] = 260M
php_admin_value[max_execution_time] = 600
php_admin_value[open_basedir] = __INSTALL_DIR__:__DATA_DIR__:/tmp