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

104 lines
2.3 KiB
JSON
Raw Normal View History

2023-07-29 20:32:17 +02:00
{
"users": [],
"port": 80,
"pubport": 80,
"page404": "404.html",
"timestamp": 1693652201916,
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": true,
"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$/"
],
2023-07-29 20:32:17 +02:00
"enableIPSpoofing": false,
"secure": false,
"sni": {},
"disableNonEncryptedServer": false,
"disableToHTTPSRedirect": false,
"enableETag": true,
2023-08-18 23:29:18 +02:00
"disableUnusedWorkerTermination": false,
"rewriteDirtyURLs": true,
"errorPages": [],
2023-09-02 09:19:14 +02:00
}