htsget-config 0.23.0

Used to configure htsget-rs by using a config file or reading environment variables.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# An example config file for a TLS data server that uses a local storage backend.
# Run with `cargo run -p htsget-axum --all-features -- --config htsget-config/docs/examples/tls_data_server.toml`

ticket_server.addr = "0.0.0.0:8080"
data_server.addr = "0.0.0.0:8081"
data_server.cors.allow_origins = "All"
data_server.tls.cert = "cert.pem"
data_server.tls.key = "key.pem"

locations = "file://data"

## Or, set using regex locations
#[[locations]]
#regex = ".*"
#substitution_string = "$0"
#backend.kind = "File"
#backend.local_path = "data"