2023-07-29 20:32:17 +02:00
<!DOCTYPE html>
< html >
< head >
2024-08-26 08:46:12 +02:00
< title > SVR.JS 3.14.18< / title >
2023-07-29 20:32:17 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" / >
< meta charset = "UTF-8" / >
< style >
body {
font-family: FreeSans, Helvetica, Tahoma, Arial, sans-serif;
text-align: center;
}
< / style >
< / head >
< body >
2024-08-26 08:46:12 +02:00
< h1 > Welcome to SVR.JS 3.14.18< / h1 >
2023-07-29 20:32:17 +02:00
< br / >
2024-05-06 12:40:31 +02:00
< img src = "/logo.png" style = "width: 256px; max-width: 100%;" / >
2023-07-29 20:32:17 +02:00
< br / >
2024-05-06 12:40:31 +02:00
< p > If you see this page that means that the server is working properly. You can further configure the server and replace < i > index.html< / i > and < i > tests.html< / i > pages with custom ones.< / p >
2023-07-29 20:32:17 +02:00
< p > Default < i > config.json< / i > looks like this:< / p >
2024-05-06 12:40:31 +02:00
< code style = "background-color: #e0e0e0; padding: 5px; text-align: left; display: block; display: inline-block;" >
< pre style = "margin: 0.2em; white-space: pre-wrap; overflow-wrap: break-word; word-wrap: break-word; word-break: break-all; word-break: break-word" > {
"users": [],
"port": 80,
"pubport": 80,
"page404": "404.html",
"timestamp": 1709477722479,
"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"
2023-07-29 20:32:17 +02:00
}
2024-05-06 12:40:31 +02:00
]
},
{
"definingRegex": "/^\\/testdir_rewritten(?:$|[\\/?#])/",
"replacements": [
{
"regex": "/^\\/testdir_rewritten($|[\\/?#])/",
"replacement": "/testdir$1"
}
]
}
],
"allowStatus": true,
"dontCompress": [
"/.*\\.ipxe$/",
"/.*\\.(?:jpe?g|png|bmp|tiff|jfif|gif|webp)$/",
"/.*\\.(?:[id]mg|iso|flp)$/",
"/.*\\.(?:zip|rar|bz2|[gb7x]z|lzma|tar)$/",
"/.*\\.(?:mp[34]|mov|wm[av]|avi|webm|og[gv]|mk[va])$/"
],
"enableIPSpoofing": false,
"secure": false,
"sni": {},
"disableNonEncryptedServer": false,
"disableToHTTPSRedirect": false,
"enableETag": true,
"disableUnusedWorkerTermination": false,
"rewriteDirtyURLs": true,
"errorPages": [],
"useWebRootServerSideScript": true,
"exposeModsInErrorPages": true,
"disableTrailingSlashRedirects": false,
"environmentVariables": {},
"allowDoubleSlashes": false
}< / pre >
< / code >
2023-07-29 20:32:17 +02:00
< p > Changes:< / p >
2024-05-06 12:40:31 +02:00
< ul style = "display: inline-block; margin: 0;" >
2024-08-26 08:46:12 +02:00
< li > Fix bug in getting public IP address without crypto support.< / li >
< li > Fix bug in the factory reset function.< / li >
< li > Fix bug in the IP address match function.< / li >
< li > Fix bug with config.json read errors being undefined.< / li >
< li > Fix bugs in the block list.< / li >
< li > Server crashes now results in exit code of 1 if no exit code is not specified.< / li >
< li > Updated dependencies.< / li >
2023-07-29 20:32:17 +02:00
< / ul >
2024-05-06 12:40:31 +02:00
< p >
< a href = "/tests.html" > Tests< / a > < br / >
< a href = "/licenses/" > Licenses< / a > < br / >
< a href = "/svrjsstatus.svr" > SVR.JS status page< / a > < br / >
< a href = "https://svrjs.org/docs" > SVR.JS documentation< / a >
< / p >
2023-07-29 20:32:17 +02:00
< img src = "/powered.png" / >
< / body >
< / html >