forked from svrjs/svrjs
65 lines
1.6 KiB
JSON
65 lines
1.6 KiB
JSON
{
|
|
"users": [],
|
|
"port": 80,
|
|
"pubport": 80,
|
|
"page404": "404.html",
|
|
"timestamp": 1709477722479,
|
|
"blacklist": [],
|
|
"nonStandardCodes": [],
|
|
"enableCompression": true,
|
|
"customHeaders": {},
|
|
"enableHTTP2": false,
|
|
"enableLogging": true,
|
|
"enableDirectoryListing": true,
|
|
"enableDirectoryListingWithDefaultHead": false,
|
|
"serverAdministratorEmail": "[no contact information]",
|
|
"stackHidden": false,
|
|
"enableRemoteLogBrowsing": false,
|
|
"exposeServerVersion": true,
|
|
"disableServerSideScriptExpose": true,
|
|
"rewriteMap": [
|
|
{
|
|
"definingRegex": "/^\\/serverSideScript\\.js(?:$|[#?])/",
|
|
"replacements": [
|
|
{
|
|
"regex": "/^\\/serverSideScript\\.js($|[#?])/",
|
|
"replacement": "/NONEXISTENT_PAGE$1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"definingRegex": "/^\\/testdir_rewritten(?:$|[\\/?#])/",
|
|
"replacements": [
|
|
{
|
|
"regex": "/^\\/testdir_rewritten($|[\\/?#])/",
|
|
"replacement": "/testdir$1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"allowStatus": true,
|
|
"dontCompress": [
|
|
"/.*\\.ipxe$/",
|
|
"/.*\\.flp$/",
|
|
"/.*\\.img$/",
|
|
"/.*\\.iso$/",
|
|
"/.*\\.png$/",
|
|
"/.*\\.jpg$/",
|
|
"/.*\\.webp$/",
|
|
"/.*\\.(?:mp[34]|mov|wm[av]|avi|webm|og[gv]|mk[va])$/",
|
|
],
|
|
"enableIPSpoofing": false,
|
|
"secure": false,
|
|
"sni": {},
|
|
"disableNonEncryptedServer": false,
|
|
"disableToHTTPSRedirect": false,
|
|
"enableETag": true,
|
|
"disableUnusedWorkerTermination": false,
|
|
"rewriteDirtyURLs": true,
|
|
"errorPages": [],
|
|
"useWebRootServerSideScript": true,
|
|
"exposeModsInErrorPages": true,
|
|
"disableTrailingSlashRedirects": false,
|
|
"environmentVariables": {},
|
|
"allowDoubleSlashes": false
|
|
}
|