Crates.io | http-salient |
lib.rs | http-salient |
version | 0.1.1 |
source | src |
created_at | 2023-06-08 08:06:25.445434 |
updated_at | 2023-06-08 12:50:51.040735 |
description | Simple http webserver |
homepage | |
repository | https://github.com/GreatC0der/salient |
max_upload_size | |
id | 885306 |
size | 51,178 |
git clone https://github.com/GreatC0der/salient.git
cargo install --path ./salient
Move your website files to www folder. Run salient
.
Config will be generated in default folder for configs, for example ~/.config
on linux.
address
- Address of web server.double_dot_defence
- Restrict access out of www derictory.caching
- If enabled data will be taken from the memory, if disabled data will be loaded from a file every time it's requested.statistics
- Count requests.statistics_output_delay
- if number of requests is devisible by this value it will be displayed.thread_limit
- How many threads should be used to handle requests?