You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Josh Leeb-du Toit
Simplify Config::load by using the fs::read_to_string function provided in std. Additionally, we update the type of the config_path argument to be generic over AsRef<Path> which is generally preferred over &str for file path arguments.
|3 years ago|
|.builds||3 years ago|
|contrib||3 years ago|
|src||3 years ago|
|.gitignore||3 years ago|
|Cargo.lock||3 years ago|
|Cargo.toml||3 years ago|
|LICENSE||3 years ago|
|README.md||3 years ago|
|index.gmi||3 years ago|
Taurus - A Concurrent Gemini Server
cargo build --release cp target/release/taurus /usr/bin/taurus
By default, taurus looks for a configuration file at
/etc/taurus/taurus.toml. Fields that can be configured are defined in
An example config might look like this:
# Default gemini port is 1965 port = 1965 # Your TLS certificate certificate_file = "/etc/taurus/identity.pfx" # Must match with the export password of the generated certificate certificate_password = "mysecretpassword" # Your gemini files static_root = "/var/www/gemini"
You will need a TLS certificate in order to use taurus. To generate one, take a look at the section below.
Generating a test-certificate
At the current state of the project, you need to generate a server certificate by hand. Take a look at
contrib/generate_cert.sh, and run it.
There is a diagnostics script at
contrib/diagnostics.py that can be used to test the functionality of taurus.