Crates.io | flash_rust_ws |
lib.rs | flash_rust_ws |
version | 0.5.1 |
source | src |
created_at | 2021-09-03 13:46:22.329465 |
updated_at | 2024-09-04 12:19:19.576485 |
description | General purpose Webserver with TLS, File, FCGI, DAV and Websocket support |
homepage | |
repository | https://github.com/User65k/flash_rust_ws |
max_upload_size | |
id | 446438 |
size | 421,068 |
A Webserver written in Rust. Build on the speedy Hyper.
Install cargo and then:
cargo install flash_rust_ws
(stable)
cargo install --git https://github.com/User65k/flash_rust_ws.git
(hottest kind of hot)
Create a config file and execute the binary :relaxed:
See the Wiki for some help with the config file.
You will need at least a single Host containing a Mount Path.
Minimal Example:
["example.com"]
ip = "127.0.0.1:80"
dir = "/var/www/"
Let's Encrypt Example:
["example.com"]
ip = "[::]:443"
validate_server_name = true
dir = "/var/www/"
tls.host.ACME = {uri="https://acme-staging-v02.api.letsencrypt.org/directory",cache_dir=".",contact=["mailto:admin@example.com"]}