rust-web-server 17.1.0

rust-web-server (rws) is a static content web-server written in Rust
1
2
3
4
5
6
7
8
9
10
11
12
ip = '127.0.0.1'
port = 7888
thread_count = 200

[cors] #  CROSS ORIGIN RESOURCE SHARING
allow_all = false # true will allow all CORS requests, other CORS properties will be ignored
allow_origins = [] # won't apply if allow_all set to true
allow_methods = [] # won't apply if allow_all set to true
allow_headers = [] # won't apply if allow_all set to true
allow_credentials = false # won't apply if allow_all set to true
expose_headers = [] # won't apply if allow_all set to true
max_age = "0" # won't apply if allow_all set to true