1
0
Fork 0
forked from svrjs/svrjs
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
svrjs/config.json

105 lines
2.4 KiB
JSON
Raw Normal View History

2023-07-29 20:32:17 +02:00
{
"users": [],
2023-09-06 20:22:51 +02:00
"port": 80,
2023-07-29 20:32:17 +02:00
"pubport": 80,
"page404": "404.html",
2023-09-10 19:41:23 +02:00
"timestamp": 1694367156151,
2023-07-29 20:32:17 +02:00
"blacklist": [],
"nonStandardCodes": [],
"enableCompression": true,
"customHeaders": {},
"enableHTTP2": false,
"enableLogging": true,
"enableDirectoryListing": true,
"enableDirectoryListingWithDefaultHead": false,
"serverAdministratorEmail": "[no contact information]",
"stackHidden": false,
"enableRemoteLogBrowsing": false,
2023-07-29 20:32:17 +02:00
"exposeServerVersion": true,
"disableServerSideScriptExpose": true,
2023-07-29 20:32:17 +02:00
"rewriteMap": [
{
2023-09-02 09:19:14 +02:00
"definingRegex": "/^\\/serverSideScript\\.js(?:$|[#?])/",
"replacements": [
{
"regex": "/^\\/serverSideScript\\.js($|[#?])/",
"replacement": "/NONEXISTENT_PAGE$1"
}
]
},
{
"definingRegex": "/^\\/invoke500\\/\\?/",
2023-07-29 20:32:17 +02:00
"replacements": [
{
"regex": "/\\/invoke500\\/\\?/",
"replacement": "/invoke500.svr?"
}
]
},
{
2023-09-02 09:19:14 +02:00
"definingRegex": "/^\\/invoke500\\/.+\\//",
2023-07-29 20:32:17 +02:00
"replacements": [
{
"regex": "/\\/\\?/",
"replacement": "&"
},
{
"regex": "/invoke500\\//",
"replacement": "invoke500.svr?"
},
{
"regex": "/\\/(?!invoke500.svr?)/",
"replacement": ""
}
]
},
{
2023-09-02 09:19:14 +02:00
"definingRegex": "/^\\/invoke500\\/.+/",
2023-07-29 20:32:17 +02:00
"replacements": [
{
"regex": "/\\?/",
"replacement": "&"
},
{
"regex": "/invoke500\\//",
"replacement": "invoke500.svr?"
}
]
},
{
2023-09-02 09:19:14 +02:00
"definingRegex": "/^\\/invoke500\\//",
2023-07-29 20:32:17 +02:00
"replacements": [
{
"regex": "/\\/invoke500\\//",
"replacement": "/invoke500.svr"
}
]
},
{
2023-09-02 09:19:14 +02:00
"definingRegex": "/^\\/invoke500$/",
2023-07-29 20:32:17 +02:00
"replacements": [
{
"regex": "/\\/invoke500/",
"replacement": "/invoke500.svr"
}
]
}
],
"allowStatus": true,
"dontCompress": [
"/.*\\.ipxe$/",
"/.*\\.img$/",
"/.*\\.iso$/"
],
"enableIPSpoofing": true,
2023-07-29 20:32:17 +02:00
"secure": false,
"sni": {},
"disableNonEncryptedServer": false,
"disableToHTTPSRedirect": false,
"enableETag": true,
2023-08-18 23:29:18 +02:00
"disableUnusedWorkerTermination": false,
"rewriteDirtyURLs": true,
"errorPages": [],
"useWebRootServerSideScript": true,
"exposeModsInErrorPages": true
2023-09-10 18:37:09 +02:00
}