1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

switch back to extra_php

This commit is contained in:
lapineige 2023-08-31 18:03:53 +02:00 committed by GitHub
parent 68c055b369
commit 90d7e6ea30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 22 deletions

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

@ -0,0 +1,4 @@
; Additional php.ini defines, specific to this pool of workers.
php_admin_value[upload_max_filesize] = 100M
php_admin_value[post_max_size] = 100M

View file

@ -1,22 +0,0 @@
[__pixelfed__]
user = __USER__
; Group should not be pixelfed, unless image (folder) access rights are not working
group = www-data
listen = /var/run/php/php__PHPVERSION__-fpm-__APP__.sock
listen.owner = www-data
listen.group = www-data
chdir = __INSTALL_DIR__
pm = ondemand
pm.max_children = 24
pm.max_requests = 500
request_terminate_timeout = 1d
pm.process_idle_timeout = 10s
php_admin_value[upload_max_filesize] = 100M
php_admin_value[post_max_size] = 100M