a basic web application with Rocket, a rust web framework
Go to file
la Fleur 84354c3834 reorganize std::fs and std::io imports 2020-11-10 11:25:21 +01:00
private tls/SSL support 2020-11-03 23:58:03 +01:00
src reorganize std::fs and std::io imports 2020-11-10 11:25:21 +01:00
templates user guard with file user definition 2020-11-10 03:41:39 +01:00
users user guard with file user definition 2020-11-10 03:41:39 +01:00
.gitignore handily hide self-gen certificates 2020-11-04 01:20:52 +01:00
Cargo.lock tera templates support 2020-11-04 01:10:20 +01:00
Cargo.toml typo dependencies in Cargo.toml 2020-11-04 12:25:41 +01:00
README.md tls/SSL support 2020-11-03 23:58:03 +01:00
Rocket.toml tls/SSL support 2020-11-03 23:58:03 +01:00

README.md

Fly me a rocket

This is a basic rocket web app. It uses tls to serve content, signing itself with keys that are in private, along with a generation script. A tryout use case would bring :

( cd private && bash gen_cert.sh )
cargo run

One should use Let'sEncrypt keys for a specific domain. See Rocket.toml for adding specific keys for production binaries. Self-generated keys are useful for developement environments.