forked from sirikata/sirikata
-
Notifications
You must be signed in to change notification settings - Fork 1
/
cdn.txt
67 lines (60 loc) · 1.45 KB
/
cdn.txt
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
64
65
66
67
#
# Content Distribution Configuration
#
cache=(
0 = Memory(
policy = LRU(size = 200M)
)
1 = Network(
services = (mhash:/// = file:///./Staging)
)
2 = Disk(
directory = Cache
policy = LRU(size = 3000M)
)
3 = Network(
services = $download
)
)
namelookup=(
meru:/// = (
0 = http://www.sirikata.com/content/names
2 = file:///./Staging/names.txt
1 = http://graphics.stanford.edu/~danielrh/dns/names/global
)
meru://cplatz@/ = (
1 = http://graphics.stanford.edu/~danielrh/dns/names/global/cplatz
2 = file:///./Staging/names-cplatz.txt
)
meru://daniel@/ = (
1 = http://graphics.stanford.edu/~danielrh/dns/names/global/daniel
2 = file:///./Staging/names-daniel.txt
)
meru://meru@/ = http://graphics.stanford.edu/~danielrh/dns/names/global/meru
)
download=(
mhash:/// = (
0 = http://www.sirikata.com/content/assets
1 = http://graphics.stanford.edu/~danielrh/uploadsystem/files/global
2 = file:///./Staging
)
)
nameupload=(
meru:/// = file:///./Staging/names.txt
)
upload=(
mhash:// = file:///./Staging
)
########## Example using real CDN
#nameupload=(mhash:// = http://graphics.stanford.edu/~danielrh/dns/index.php (
# field:file=MHashFile0
# field:filename=highlevel0
# )
#)
#
#upload=(mhash:// =
# http://graphics.stanford.edu/~danielrh/uploadsystem/index.php (
# field:file=uploadFile0
# value:uploadNeed=1)
#)
#