forked from matteocrippa/nginx_vhosts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpool.conf.template
53 lines (32 loc) · 1.03 KB
/
pool.conf.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
; Pool name, the variable $pool can be used in any directive and will be replaced by the
; pool name ('www' here)
[@@USER@@]
listen = /var/run/@@SOCKET@@_fpm.sock
;listen.backlog = -1
listen.allowed_clients = 127.0.0.1
listen.owner = www
listen.group = www
;listen.mode = 0660
user = @@USER@@
group = @@USER@@
pm = dynamic
pm.max_children = @@MAX_CHILDS@@
pm.start_servers = @@START_SERVERS@@
pm.min_spare_servers = @@MIN_SERVERS@@
pm.max_spare_servers = @@MAX_SERVERS@@
pm.max_requests = 500
;pm.status_path = /status
;ping.path = /ping
;ping.response = pong
;access.log = log/$pool.access.log
;access.format = %R - %u %t "%m %r%Q%q" %s %f %{mili}d %{kilo}M %C%%
request_terminate_timeout = 30s
;request_slowlog_timeout = 0
;slowlog = log/$pool.log.slow
;rlimit_files = 1024
;rlimit_core = 0
;chroot =
chdir = /
;catch_workers_output = yes
php_admin_value[session.save_path] = "@@HOME_DIR@@/_sessions"
php_admin_value[open_basedir] = "@@HOME_DIR@@:/usr/local/share/pear:/usr/share/php:/tmp:/usr/local/lib/php:/var/run"