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,
|
"port": 80,
|
||||||
"pubport": 80,
|
"pubport": 80,
|
||||||
"page404": "404.html",
|
"page404": "404.html",
|
||||||
"timestamp": 1699810857032,
|
"timestamp": 1701600932028,
|
||||||
"blacklist": [],
|
"blacklist": [],
|
||||||
"nonStandardCodes": [],
|
"nonStandardCodes": [],
|
||||||
"enableCompression": true,
|
"enableCompression": true,
|
||||||
|
@ -89,7 +89,10 @@
|
||||||
"dontCompress": [
|
"dontCompress": [
|
||||||
"/.*\\.ipxe$/",
|
"/.*\\.ipxe$/",
|
||||||
"/.*\\.img$/",
|
"/.*\\.img$/",
|
||||||
"/.*\\.iso$/"
|
"/.*\\.iso$/",
|
||||||
|
"/.*\\.png$/",
|
||||||
|
"/.*\\.jpg$/",
|
||||||
|
"/.*\\.webp$/"
|
||||||
],
|
],
|
||||||
"enableIPSpoofing": true,
|
"enableIPSpoofing": true,
|
||||||
"secure": false,
|
"secure": false,
|
||||||
|
@ -101,5 +104,6 @@
|
||||||
"rewriteDirtyURLs": true,
|
"rewriteDirtyURLs": true,
|
||||||
"errorPages": [],
|
"errorPages": [],
|
||||||
"useWebRootServerSideScript": true,
|
"useWebRootServerSideScript": true,
|
||||||
"exposeModsInErrorPages": true
|
"exposeModsInErrorPages": true,
|
||||||
|
"disableTrailingSlashRedirects": false
|
||||||
}
|
}
|
||||||
|
|
21
index.html
21
index.html
|
@ -29,7 +29,7 @@
|
||||||
"port": 80,<br/>
|
"port": 80,<br/>
|
||||||
"pubport": 80,<br/>
|
"pubport": 80,<br/>
|
||||||
"page404": "404.html",<br/>
|
"page404": "404.html",<br/>
|
||||||
"timestamp": 1680954429282,<br/>
|
"timestamp": 1701600932028,<br/>
|
||||||
"blacklist": [],<br/>
|
"blacklist": [],<br/>
|
||||||
"nonStandardCodes": [],<br/>
|
"nonStandardCodes": [],<br/>
|
||||||
"enableCompression": true,<br/>
|
"enableCompression": true,<br/>
|
||||||
|
@ -112,13 +112,26 @@
|
||||||
}<br/>
|
}<br/>
|
||||||
],<br/>
|
],<br/>
|
||||||
"allowStatus": true,<br/>
|
"allowStatus": true,<br/>
|
||||||
"dontCompress": ["/.*\\.ipxe$/","/.*\\.img$/","/.*\\.iso$/"],<br/>
|
"dontCompress": [<br/>
|
||||||
"enableIPSpoofing": false,<br/>
|
"/.*\\.ipxe$/",<br/>
|
||||||
|
"/.*\\.img$/",<br/>
|
||||||
|
"/.*\\.iso$/",<br/>
|
||||||
|
"/.*\\.png$/",<br/>
|
||||||
|
"/.*\\.jpg$/",<br/>
|
||||||
|
"/.*\\.webp$/"<br/>
|
||||||
|
],<br/>
|
||||||
|
"enableIPSpoofing": true,<br/>
|
||||||
"secure": false,<br/>
|
"secure": false,<br/>
|
||||||
"sni": {},<br/>
|
"sni": {},<br/>
|
||||||
"disableNonEncryptedServer": false,<br/>
|
"disableNonEncryptedServer": false,<br/>
|
||||||
"disableToHTTPSRedirect": 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>
|
</code>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue