init project
This commit is contained in:
parent
3541d55d7c
commit
cdaa07c717
19
config/php-fpm.conf
Normal file
19
config/php-fpm.conf
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[global]
|
||||||
|
daemonize = yes
|
||||||
|
error_log = /dev/stdout
|
||||||
|
log_level = warning
|
||||||
|
|
||||||
|
[www]
|
||||||
|
user = www-data
|
||||||
|
group = www-data
|
||||||
|
listen = 127.0.0.1:9000
|
||||||
|
pm = ondemand
|
||||||
|
pm.max_children = 15
|
||||||
|
pm.process_idle_timeout = 10s
|
||||||
|
pm.max_requests = 500
|
||||||
|
catch_workers_output = yes
|
||||||
|
chdir = /www
|
||||||
|
php_admin_flag[log_errors] = true
|
||||||
|
php_admin_value[memory_limit] = 128M
|
||||||
|
php_admin_value[upload_max_filesize] = 1G
|
||||||
|
php_admin_value[post_max_size] = 1G
|
||||||
19
config/www.conf
Normal file
19
config/www.conf
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[www]
|
||||||
|
|
||||||
|
user = www
|
||||||
|
group = www
|
||||||
|
|
||||||
|
listen = 127.0.0.1:9000
|
||||||
|
|
||||||
|
pm = dynamic
|
||||||
|
pm.max_children = 5
|
||||||
|
pm.start_servers = 2
|
||||||
|
pm.min_spare_servers = 1
|
||||||
|
pm.max_spare_servers = 3
|
||||||
|
|
||||||
|
security.limit_extensions = .php
|
||||||
|
|
||||||
|
ping.path = /ping
|
||||||
|
ping.response = pong
|
||||||
|
|
||||||
|
access.format = "%R - %t \"%m %r %{HTTP_X_URI}e\" %s %{mili}d %{kilo}M %C%%"
|
||||||
Loading…
Reference in New Issue
Block a user