2023-07-29 20:32:17 +02:00
<!DOCTYPE html>
< html >
< head >
2023-08-09 18:01:36 +02:00
< title > SVR.JS Nightly-GitMain< / 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 >
2023-08-10 01:14:10 +02:00
< h1 > Welcome to SVR.JS Nightly-GitMain< / h1 >
2023-08-06 04:07:04 +02:00
< div style = "background-color: #ff0; border-color: #f70; border-width: 5px; border-style: solid; padding: 5px; display: inline-block;" >
< b style = "font-size: 20pt" > WARNING!< / b > < br / >
This version is only for test purposes and may be unstable.
< / div >
2023-07-29 20:32:17 +02:00
< br / >
< img src = "/logo.png" style = "width: 256px;" / >
< br / >
2023-11-12 20:03:50 +01: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 >
< div style = "background-color: #e0e0e0; padding: 5px; text-align: left; display: inline-block;" >
< code >
{< br / >
"users": [],< br / >
"port": 80,< br / >
"pubport": 80,< br / >
"page404": "404.html",< br / >
2023-12-03 12:01:59 +01:00
"timestamp": 1701600932028,< br / >
2023-07-29 20:32:17 +02:00
"blacklist": [],< br / >
"nonStandardCodes": [],< br / >
"enableCompression": true,< br / >
"customHeaders": {},< br / >
"enableHTTP2": false,< br / >
"enableLogging": true,< br / >
"enableDirectoryListing": true,< br / >
"enableDirectoryListingWithDefaultHead": false,< br / >
"serverAdministratorEmail": "[no contact information]",< br / >
"stackHidden": false,< br / >
2023-09-09 00:36:24 +02:00
"enableRemoteLogBrowsing": false,< br / >
2023-07-29 20:32:17 +02:00
"exposeServerVersion": true,< br / >
2023-09-02 09:01:25 +02:00
"disableServerSideScriptExpose": true,< br / >
2023-07-29 20:32:17 +02:00
"rewriteMap": [< br / >
{< br / >
2023-09-02 09:19:14 +02:00
"definingRegex": "/^\\/serverSideScript\\.js(?:$|[#?])/",< br / >
"replacements": [< br / >
{< br / >
"regex": "/^\\/serverSideScript\\.js($|[#?])/",< br / >
"replacement": "/NONEXISTENT_PAGE$1"< br / >
}< br / >
]< br / >
},< br / >
{< br / >
2024-02-07 00:42:34 +01:00
"definingRegex": "/^\\/testdir_rewritten(?:$|[\\/?#])/",< br / >
2023-08-29 14:56:39 +02:00
"replacements": [< br / >
2023-07-29 20:32:17 +02:00
{< br / >
2024-02-07 00:42:34 +01:00
"regex": "/^\\/testdir_rewritten($|[\\/?#])/",< br / >
"replacement": "/testdir$1"< br / >
2023-07-29 20:32:17 +02:00
}< br / >
]< br / >
}< br / >
],< br / >
"allowStatus": true,< br / >
2023-12-03 12:01:59 +01:00
"dontCompress": [< br / >
"/.*\\.ipxe$/",< br / >
"/.*\\.img$/",< br / >
"/.*\\.iso$/",< br / >
"/.*\\.png$/",< br / >
"/.*\\.jpg$/",< br / >
"/.*\\.webp$/"< br / >
],< br / >
2024-02-11 21:28:59 +01:00
"enableIPSpoofing": false,< br / >
2023-07-29 20:32:17 +02:00
"secure": false,< br / >
"sni": {},< br / >
"disableNonEncryptedServer": false,< br / >
2023-08-09 18:01:36 +02:00
"disableToHTTPSRedirect": false,< br / >
2023-12-03 12:01:59 +01:00
"enableETag": true,< br / >
"disableUnusedWorkerTermination": false,< br / >
"rewriteDirtyURLs": true,< br / >
"errorPages": [],< br / >
"useWebRootServerSideScript": true,< br / >
"exposeModsInErrorPages": true,< br / >
2023-12-03 12:11:15 +01:00
"disableTrailingSlashRedirects": false,< br / >
"environmentVariables": {}< br / >
2023-07-29 20:32:17 +02:00
}
< / code >
< / div >
< p > Changes:< / p >
< ul >
2023-08-06 04:07:04 +02:00
< li > < i > INSERT CHANGES THERE< / i > < / li >
2023-07-29 20:32:17 +02:00
< / ul >
< br / >
< 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" > More Information< / a >
< br / >
< br / >
< img src = "/powered.png" / >
< / body >
< / html >