forked from svrjs/svrjs
Change default configuration
This commit is contained in:
parent
5321f2c6a7
commit
4c9cd87a94
2 changed files with 24 additions and 7 deletions
10
config.json
10
config.json
|
@ -3,7 +3,7 @@
|
|||
"port": 80,
|
||||
"pubport": 80,
|
||||
"page404": "404.html",
|
||||
"timestamp": 1699810857032,
|
||||
"timestamp": 1701600932028,
|
||||
"blacklist": [],
|
||||
"nonStandardCodes": [],
|
||||
"enableCompression": true,
|
||||
|
@ -89,7 +89,10 @@
|
|||
"dontCompress": [
|
||||
"/.*\\.ipxe$/",
|
||||
"/.*\\.img$/",
|
||||
"/.*\\.iso$/"
|
||||
"/.*\\.iso$/",
|
||||
"/.*\\.png$/",
|
||||
"/.*\\.jpg$/",
|
||||
"/.*\\.webp$/"
|
||||
],
|
||||
"enableIPSpoofing": true,
|
||||
"secure": false,
|
||||
|
@ -101,5 +104,6 @@
|
|||
"rewriteDirtyURLs": true,
|
||||
"errorPages": [],
|
||||
"useWebRootServerSideScript": true,
|
||||
"exposeModsInErrorPages": true
|
||||
"exposeModsInErrorPages": true,
|
||||
"disableTrailingSlashRedirects": false
|
||||
}
|
||||
|
|
21
index.html
21
index.html
|
@ -29,7 +29,7 @@
|
|||
"port": 80,<br/>
|
||||
"pubport": 80,<br/>
|
||||
"page404": "404.html",<br/>
|
||||
"timestamp": 1680954429282,<br/>
|
||||
"timestamp": 1701600932028,<br/>
|
||||
"blacklist": [],<br/>
|
||||
"nonStandardCodes": [],<br/>
|
||||
"enableCompression": true,<br/>
|
||||
|
@ -112,13 +112,26 @@
|
|||
}<br/>
|
||||
],<br/>
|
||||
"allowStatus": true,<br/>
|
||||
"dontCompress": ["/.*\\.ipxe$/","/.*\\.img$/","/.*\\.iso$/"],<br/>
|
||||
"enableIPSpoofing": false,<br/>
|
||||
"dontCompress": [<br/>
|
||||
"/.*\\.ipxe$/",<br/>
|
||||
"/.*\\.img$/",<br/>
|
||||
"/.*\\.iso$/",<br/>
|
||||
"/.*\\.png$/",<br/>
|
||||
"/.*\\.jpg$/",<br/>
|
||||
"/.*\\.webp$/"<br/>
|
||||
],<br/>
|
||||
"enableIPSpoofing": true,<br/>
|
||||
"secure": false,<br/>
|
||||
"sni": {},<br/>
|
||||
"disableNonEncryptedServer": false,<br/>
|
||||
"disableToHTTPSRedirect": false,<br/>
|
||||
"enableETag": true<br/>
|
||||
"enableETag": true,<br/>
|
||||
"disableUnusedWorkerTermination": false,<br/>
|
||||
"rewriteDirtyURLs": true,<br/>
|
||||
"errorPages": [],<br/>
|
||||
"useWebRootServerSideScript": true,<br/>
|
||||
"exposeModsInErrorPages": true,<br/>
|
||||
"disableTrailingSlashRedirects": false<br/>
|
||||
}
|
||||
</code>
|
||||
</div>
|
||||
|
|
Reference in a new issue