An ergonomic and elegant framework for creating Gemini servers and SCGI apps without needless bloat
Go to file
Emi Tatsuo 95a4a8d75d
Reduce number of required Arcs
Should improve performance because cloning an `Arc` is expensive
2020-11-22 11:55:33 -05:00
examples Merge branch 'routes' into allow-async-handlers 2020-11-20 14:00:49 -05:00
public bump crate version to 0.3.0 2020-11-14 04:50:36 +01:00
src Reduce number of required Arcs 2020-11-22 11:55:33 -05:00
.gitignore
Cargo.toml Removed unnecessary dependency on futures-rs 2020-11-19 23:51:25 -05:00
CHANGELOG.md Update changelog for improved handlers 2020-11-19 23:52:34 -05:00
README.md add instructions for multiple domains to readme 2020-11-15 20:23:42 +01:00

                     __  __         __
   ____  ____  _____/ /_/ /_  _____/ /_____ ______
  / __ \/ __ \/ ___/ __/ __ \/ ___/ __/ __ `/ ___/
 / / / / /_/ / /  / /_/ / / (__  ) /_/ /_/ / /
/_/ /_/\____/_/   \__/_/ /_/____/\__/\__,_/_/

Usage

Add the latest version of northstar to your Cargo.toml.

Manually

northstar = "0.3.0" # check crates.io for the latest version

Automatically

cargo add northstar

Generating a key & certificate

Run

mkdir cert && cd cert
openssl req -x509 -nodes -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365

and enter your domain name (e.g. "localhost" for testing) as Common Name (CN).

Alternatively, if you want to include multiple domains add something like -addext "subjectAltName = DNS:localhost, DNS:example.org".