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

63 lines
1.5 KiB
JSON
Raw Permalink 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-12-03 12:01:59 +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,
"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": "/^\\/testdir_rewritten(?:$|[\\/?#])/",
2023-07-29 20:32:17 +02:00
"replacements": [
{
"regex": "/^\\/testdir_rewritten($|[\\/?#])/",
"replacement": "/testdir$1"
2023-07-29 20:32:17 +02:00
}
]
}
],
"allowStatus": true,
"dontCompress": [
"/.*\\.ipxe$/",
"/.*\\.img$/",
2023-12-03 12:01:59 +01:00
"/.*\\.iso$/",
"/.*\\.png$/",
"/.*\\.jpg$/",
"/.*\\.webp$/"
],
"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,
2023-12-03 12:01:59 +01:00
"exposeModsInErrorPages": true,
"disableTrailingSlashRedirects": false,
"environmentVariables": {}
2023-12-03 11:55:19 +01:00
}