-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
47 lines (43 loc) · 1.02 KB
/
config.json
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
{
"settings": {
"http": {
"max_body_size": 134217728,
"send_timeout": {{SEND_TIMEOUT}},
"idle_timeout": {{IDLE_TIMEOUT}}
}
},
"listeners": {
"*:8080": {
"pass": "routes"
}
},
"routes": [
{
"action": {
"share": "{{DOCUMENT_ROOT}}$uri",
"fallback": {
"pass": "applications/php"
}
}
}
],
"applications": {
"php": {
"type": "php",
"root": "{{DOCUMENT_ROOT}}",
"script": "index.php",
"processes": {
"max": {{PROCESSES_COUNT}},
"spare": {{PROCESSES_COUNT}},
"idle_timeout": 30
},
"options": {
"user": {
"memory_limit": "{{MEMORY_LIMIT}}"
},
"admin": {}
}
}
},
"access_log": "/var/lib/unit/access.log"
}