forked from svrjs/svrjs
110 lines
2.5 KiB
JSON
110 lines
2.5 KiB
JSON
{
|
|
"users": [],
|
|
"port": 80,
|
|
"pubport": 80,
|
|
"page404": "404.html",
|
|
"timestamp": 1701600932028,
|
|
"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": "/^\\/invoke500\\/\\?/",
|
|
"replacements": [
|
|
{
|
|
"regex": "/\\/invoke500\\/\\?/",
|
|
"replacement": "/invoke500.svr?"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"definingRegex": "/^\\/invoke500\\/.+\\//",
|
|
"replacements": [
|
|
{
|
|
"regex": "/\\/\\?/",
|
|
"replacement": "&"
|
|
},
|
|
{
|
|
"regex": "/invoke500\\//",
|
|
"replacement": "invoke500.svr?"
|
|
},
|
|
{
|
|
"regex": "/\\/(?!invoke500.svr?)/",
|
|
"replacement": ""
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"definingRegex": "/^\\/invoke500\\/.+/",
|
|
"replacements": [
|
|
{
|
|
"regex": "/\\?/",
|
|
"replacement": "&"
|
|
},
|
|
{
|
|
"regex": "/invoke500\\//",
|
|
"replacement": "invoke500.svr?"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"definingRegex": "/^\\/invoke500\\//",
|
|
"replacements": [
|
|
{
|
|
"regex": "/\\/invoke500\\//",
|
|
"replacement": "/invoke500.svr"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"definingRegex": "/^\\/invoke500$/",
|
|
"replacements": [
|
|
{
|
|
"regex": "/\\/invoke500/",
|
|
"replacement": "/invoke500.svr"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"allowStatus": true,
|
|
"dontCompress": [
|
|
"/.*\\.ipxe$/",
|
|
"/.*\\.img$/",
|
|
"/.*\\.iso$/",
|
|
"/.*\\.png$/",
|
|
"/.*\\.jpg$/",
|
|
"/.*\\.webp$/"
|
|
],
|
|
"enableIPSpoofing": true,
|
|
"secure": false,
|
|
"sni": {},
|
|
"disableNonEncryptedServer": false,
|
|
"disableToHTTPSRedirect": false,
|
|
"enableETag": true,
|
|
"disableUnusedWorkerTermination": false,
|
|
"rewriteDirtyURLs": true,
|
|
"errorPages": [],
|
|
"useWebRootServerSideScript": true,
|
|
"exposeModsInErrorPages": true,
|
|
"disableTrailingSlashRedirects": false,
|
|
"environmentVariables": {}
|
|
}
|