1
0
Fork 0
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:
lapineige 2023-08-28 15:01:27 +02:00 committed by GitHub
parent 9084657231
commit a4f907e358
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
conf/php_fpm.conf Normal file
View 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