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

111 lines
2.5 KiB
JSON
Raw Normal View History

2023-07-29 20:32:17 +02:00
{
"users": [],
"port": 80,
"pubport": 80,
"page404": "404.html",
2023-12-03 16:19:34 +01:00
"timestamp": 1701600932028,
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,
2023-09-10 11:13:23 +02:00
"enableRemoteLogBrowsing": false,
2023-07-29 20:32:17 +02:00
"exposeServerVersion": true,
2023-09-02 09:39:46 +02:00
"disableServerSideScriptExpose": true,
2023-07-29 20:32:17 +02:00
"rewriteMap": [
{
2023-09-02 09:39:46 +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:39:46 +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:39:46 +02:00
"definingRegex": "/^\\/invoke500\\/.+/",
2023-07-29 20:32:17 +02:00
"replacements": [
{
"regex": "/\\?/",
"replacement": "&"
},
{
"regex": "/invoke500\\//",
"replacement": "invoke500.svr?"
}
]
},
{
2023-09-02 09:39:46 +02:00
"definingRegex": "/^\\/invoke500\\//",
2023-07-29 20:32:17 +02:00
"replacements": [
{
"regex": "/\\/invoke500\\//",
"replacement": "/invoke500.svr"
}
]
},
{
2023-09-02 09:39:46 +02:00
"definingRegex": "/^\\/invoke500$/",
2023-07-29 20:32:17 +02:00
"replacements": [
{
"regex": "/\\/invoke500/",
"replacement": "/invoke500.svr"
}
]
}
],
"allowStatus": true,
2023-08-20 03:14:24 +02:00
"dontCompress": [
"/.*\\.ipxe$/",
"/.*\\.img$/",
2023-12-03 16:19:34 +01:00
"/.*\\.iso$/",
"/.*\\.png$/",
"/.*\\.jpg$/",
"/.*\\.webp$/"
2023-08-20 03:14:24 +02:00
],
2023-12-03 16:19:34 +01:00
"enableIPSpoofing": true,
2023-07-29 20:32:17 +02:00
"secure": false,
"sni": {},
"disableNonEncryptedServer": false,
2023-08-20 03:14:24 +02:00
"disableToHTTPSRedirect": false,
"enableETag": true,
"disableUnusedWorkerTermination": false,
2023-12-03 16:19:34 +01:00
"rewriteDirtyURLs": true,
"errorPages": [],
"useWebRootServerSideScript": true,
"exposeModsInErrorPages": true,
"disableTrailingSlashRedirects": false,
"environmentVariables": {}
2023-07-29 20:32:17 +02:00
}