-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.json
60 lines (60 loc) · 1.67 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
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"SlowMode": true,
"SlowModeMaxMilliSeconds": 2000,
"SpartanPort": 3000,
"GeminiPort": 1965,
"Capsules": {
"localhost": {
"AbsoluteTlsCertPath": "/srv/gemini/localhost/localhost.pfx",
"AbsoluteRootPath": "/srv/gemini/localhost/",
"FQDN": "localhost",
"Index": "index.gmi",
"MaxUploadSize": 4194304,
"Locations": [
{
"Index": "index.gmi",
"AbsoluteRootPath": "/srv/gemini/localhost/",
"DefaultMimeType": "text/gemini",
"AllowedMimeTypes": {}
},
{
"Index": "index.gmi",
"DirectoryListing": true,
"AbsoluteRootPath": "/srv/gemini/localhost/pages/",
"DefaultMimeType": "text/gemini",
"AllowedMimeTypes": {}
},
{
"Index": "index.gmi",
"DirectoryListing": true,
"AbsoluteRootPath": "/srv/gemini/localhost/blog/",
"DefaultMimeType": "text/gemini",
"AllowedMimeTypes": {}
},
{
"Index": "script.csx",
"CGI": true,
"AbsoluteRootPath": "/srv/gemini/localhost/cgi/",
"DefaultMimeType": "text/gemini",
"AllowedMimeTypes": {}
},
{
"Index": "index.gmi",
"DirectoryListing": true,
"AbsoluteRootPath": "/srv/gemini/localhost/files/",
"AllowFileUploads": true,
"DefaultMimeType": "text/gemini",
"AllowedMimeTypes": {
"text/*": {
"MaxSizeBytes": 1048576
},
"image/*": {},
"audio/mpeg": {},
"audio/ogg": {},
"audio/wave": {}
}
}
]
}
}
}