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:
parent
68c055b369
commit
90d7e6ea30
2 changed files with 4 additions and 22 deletions
4
conf/extra_php-fpm.conf
Normal file
4
conf/extra_php-fpm.conf
Normal 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
|
|
@ -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
|
|
Loading…
Add table
Reference in a new issue