mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Transfer to normal php conf
This commit is contained in:
parent
9084657231
commit
a4f907e358
1 changed files with 20 additions and 0 deletions
20
conf/php_fpm.conf
Normal file
20
conf/php_fpm.conf
Normal file
|
@ -0,0 +1,20 @@
|
|||
[__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
|
||||
|
||||
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