feat: replace apache2 with nginx + php-fpm
BREAKING CHANGE: The `apache2` webserver has been replaced with `nginx` and `php-fpm`, be sure to uninstall `apache2` and clean related configuration files from your system before upgrading.
This commit is contained in:
parent
2f205544c2
commit
ec45717ccf
8 changed files with 114 additions and 48 deletions
22
legacy/install/php-fpm/libretime-legacy.conf
Normal file
22
legacy/install/php-fpm/libretime-legacy.conf
Normal file
|
@ -0,0 +1,22 @@
|
|||
[libretime-legacy]
|
||||
listen = /run/libretime-legacy.sock
|
||||
|
||||
listen.owner = @@DEFAULT_WEB_USER@@
|
||||
listen.group = @@DEFAULT_WEB_USER@@
|
||||
|
||||
user = @@USER@@
|
||||
group = @@USER@@
|
||||
|
||||
pm = ondemand
|
||||
pm.max_children = 30
|
||||
pm.process_idle_timeout = 60s
|
||||
pm.max_requests = 500
|
||||
|
||||
php_admin_value[memory_limit] = 512M
|
||||
php_admin_value[post_max_size] = 512M
|
||||
php_admin_value[upload_max_filesize] = 512M
|
||||
php_admin_value[upload_tmp_dir] = /tmp
|
||||
|
||||
php_admin_value[request_order] = GPC
|
||||
php_admin_value[session.gc_probability] = 0
|
||||
php_admin_value[session.auto_start] = 0
|
Loading…
Add table
Add a link
Reference in a new issue