listen http enabled true address port 17001 https enabled true address

 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
56
57
58
59
60
61
62
63
{
"listen": {
"http": {
"enabled": true,
"address": "0.0.0.0",
"port": 17001
},
"https": {
"enabled": true,
"address": "0.0.0.0",
"port": 17002,
"spdy": true
}
},
"backends": {
"test": {
"address": "127.0.0.1",
"port": 80
}
},
"http": {
"client": {
"followRedirects": true,
"connectionTimeout": 3000,
"requestTimeout": 20000,
"idleTimeout": 10000,
"userAgent": "JackCache 0.0.1"
}
},
"caches": {
"default": {
"eternal": false,
"tomeToIdle": 3600,
"timeToLive": 1800,
"maxSize": "300M",
"evictionPolicy": "LRU",
"disk": {
"persistent": true,
"spoolBufferSize": "30M",
"expiryThreadIntervalSeconds": 60,
"maxBytes": "3024M",
"maxEntries": 10240
}
},
"cache1": {
"maxSize": "100M",
"name": "cache1",
"path": "/tmp/cache1"
},
"errors": {
"tti": 600,
"ttl": 1200,
"maxSize": "100M"
}
}
}