-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathServerConfig.cfg
More file actions
17 lines (13 loc) · 881 Bytes
/
ServerConfig.cfg
File metadata and controls
17 lines (13 loc) · 881 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#Server configuration
root=./www #Root path of web server
port=444 #Server listening port, default port 80 for http server and 443 for https server
#SSL Settings
useSSL=true #Server run on https?
#Default page file
defaultMainPage=index.html #Default main page when visit main site,combine with root will lead to main page
indexFile=index.html #File path of server's default index file for root folder and sub folders
notFoundPageFile=404Page.html #File path of 404-not-found-page
#Other setting
allowExtensionCompletion = false #Allow file extension to be completed if request has no file extension
defaultFileExtension=.html #default extension when receive request pathname in the form of /XXX/XXX (without file extension)
maxPartialResponse=524288 #Max response data when response partial file content