summaryrefslogtreecommitdiffstats
path: root/templates/php-fpm.conf
blob: b2457e85838de31dd01c6586cec721e3a443f05b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[ttrss]
user = {{ ttrss_user }}
group = {{ ttrss_group }}

listen = /var/run/php/php7.3-fpm-ttrss.sock
listen.owner = www-data
listen.group = www-data

; Disable possible remote exploit commands
php_admin_value[disable_functions] = exec,passthru,shell_exec,system
php_admin_flag[allow_url_fopen] = off

; Pool configuration
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3

chdir = /