-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-sets.json
More file actions
71 lines (71 loc) · 2.18 KB
/
config-sets.json
File metadata and controls
71 lines (71 loc) · 2.18 KB
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
68
69
70
71
/* Configuration settings for application. */
{
/* Set to true to use production settings, */
/* false for development settings. Default is true. */
"isProduction": true,
/* Settings used in production mode. */
/* These settings are saved to "config-sets.json" file. */
"production": {
"port": 8000,
"parallelism": 1,
"tiny-https-server": {
"isDebug": false,
"host": "0.0.0.0",
"port": 8000,
"exclusive": false,
"logDir": "./log/tiny-https-server",
"directory_index": "index.html",
"primary_domain": {
"document_root": "./",
"service_worker_version": "0",
"service_worker_version_update": true,
"is_new_service_worker_reload_browser": false,
"service_worker_disabled": false,
"precache_urls": null,
"headers": {
"default": {
"server": "tiny-https-server"
}
},
"sitemap_update": true
},
"subdomains": {},
"cache_control": {
"fileTypes": {
"webp": "max-age=2592000",
"bmp": "max-age=2592000",
"jpeg": "max-age=2592000",
"jpg": "max-age=2592000",
"png": "max-age=2592000",
"svg": "max-age=2592000",
"pdf": "max-age=2592000",
"woff2": "max-age=2592000",
"woff": "max-age=2592000",
"image/svg+xml": "max-age=2592000",
"html": "max-age=86400",
"css": "max-age=86400",
"js": "max-age=86400"
}
},
"pathToBlacklistFile": "./log/tiny-https-server/blacklist.json",
"bad_path_validation_regex_patterns": [
".php$|.asmx$"
],
"contact_email": "default@laptop-l6kf75di",
"maxConnections": 100,
"maxRequestsPerSocket": 100,
"pathToPrivkey": ,
"pathToCert":
},
"web-cluster": {
"isDebug": false,
"parallelism": 1,
"httpToHttpsRedirect": true
}
},
/* Settings used in development mode. */
/* These settings are not saved to file and are created from production settings. */
/* You can override these settings using command line arguments. */
/* Set only the settings you want to change. */
"development": {}
}