-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.example.json
55 lines (51 loc) · 1.33 KB
/
config.example.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
48
49
50
51
52
53
54
55
{
"system": {
"pidfile": "/tmp/nedomi_pidfile.pid",
"workdir": "/",
"user": "www-data"
},
"cache_zones": [
{
"id": 1,
"path": "/home/iron4o/playfield/nedomi/cache1",
"storage_objects": 1023123,
"part_size": "2m"
},
{
"id": 2,
"path": "/home/iron4o/playfield/nedomi/cache2",
"storage_objects": 4723123,
"part_size": "4m"
}
],
"http": {
"listen": ":8282",
"max_headers_size": 1231241212,
"read_timeout": 12312310,
"write_timeout": 213412314,
"status_page": "/status",
"virtual_hosts": [
{
"name": "localhost",
"upstream_address": "http://ucdn.com/",
"cache_zone": 1,
"cache_key": "1.1"
},
{
"name": "127.0.0.1",
"upstream_address": "http://inv.bg",
"cache_zone": 2,
"cache_key": "2.1"
},
{
"name": "cached.doycho.com",
"upstream_address": "http://localhost",
"cache_zone": 2,
"cache_key": "1.2"
}
]
},
"logging": {
"log_file": "/var/log/nedomi.log"
}
}