mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
default configs for ubuntu releases
This commit is contained in:
parent
4401d706a4
commit
4a3cec1290
426 changed files with 23631 additions and 0 deletions
21
install/ubuntu/17.10/templates/web/php-fpm/default.tpl
Normal file
21
install/ubuntu/17.10/templates/web/php-fpm/default.tpl
Normal file
|
@ -0,0 +1,21 @@
|
|||
[%backend%]
|
||||
listen = 127.0.0.1:%backend_port%
|
||||
listen.allowed_clients = 127.0.0.1
|
||||
|
||||
user = %user%
|
||||
group = %user%
|
||||
|
||||
pm = ondemand
|
||||
pm.max_children = 4
|
||||
pm.max_requests = 4000
|
||||
pm.process_idle_timeout = 10s
|
||||
pm.status_path = /status
|
||||
|
||||
php_admin_value[upload_tmp_dir] = /home/%user%/tmp
|
||||
php_admin_value[session.save_path] = /home/%user%/tmp
|
||||
|
||||
env[HOSTNAME] = $HOSTNAME
|
||||
env[PATH] = /usr/local/bin:/usr/bin:/bin
|
||||
env[TMP] = /home/%user%/tmp
|
||||
env[TMPDIR] = /home/%user%/tmp
|
||||
env[TEMP] = /home/%user%/tmp
|
20
install/ubuntu/17.10/templates/web/php-fpm/no-php.tpl
Normal file
20
install/ubuntu/17.10/templates/web/php-fpm/no-php.tpl
Normal file
|
@ -0,0 +1,20 @@
|
|||
;[%backend%]
|
||||
;listen = /dev/null
|
||||
|
||||
;user = %user%
|
||||
;group = %user%
|
||||
|
||||
;listen.owner = %user%
|
||||
;listen.group = www-data
|
||||
|
||||
;pm = ondemand
|
||||
;pm.max_children = 4
|
||||
;pm.max_requests = 4000
|
||||
;pm.process_idle_timeout = 10s
|
||||
;pm.status_path = /status
|
||||
|
||||
;env[HOSTNAME] = $HOSTNAME
|
||||
;env[PATH] = /usr/local/bin:/usr/bin:/bin
|
||||
;env[TMP] = /home/%user%/tmp
|
||||
;env[TMPDIR] = /home/%user%/tmp
|
||||
;env[TEMP] = /home/%user%/tmp
|
24
install/ubuntu/17.10/templates/web/php-fpm/socket.tpl
Normal file
24
install/ubuntu/17.10/templates/web/php-fpm/socket.tpl
Normal file
|
@ -0,0 +1,24 @@
|
|||
[%backend%]
|
||||
listen = /var/run/php/%backend%.sock
|
||||
listen.allowed_clients = 127.0.0.1
|
||||
|
||||
user = %user%
|
||||
group = %user%
|
||||
|
||||
listen.owner = %user%
|
||||
listen.group = www-data
|
||||
|
||||
pm = ondemand
|
||||
pm.max_children = 4
|
||||
pm.max_requests = 4000
|
||||
pm.process_idle_timeout = 10s
|
||||
pm.status_path = /status
|
||||
|
||||
php_admin_value[upload_tmp_dir] = /home/%user%/tmp
|
||||
php_admin_value[session.save_path] = /home/%user%/tmp
|
||||
|
||||
env[HOSTNAME] = $HOSTNAME
|
||||
env[PATH] = /usr/local/bin:/usr/bin:/bin
|
||||
env[TMP] = /home/%user%/tmp
|
||||
env[TMPDIR] = /home/%user%/tmp
|
||||
env[TEMP] = /home/%user%/tmp
|
Loading…
Add table
Add a link
Reference in a new issue