1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# An example for a server which uses json path storage.
# Run with `cargo run -p htsget-axum --all-features -- --config htsget-config/docs/examples/json_path_storage.toml`
# in the project directory.
= "127.0.0.1:8082"
= "All"
= "None"
[[]]
= ".*"
= "$0"
= "json_path"
= "http://127.0.0.1:8081"
= "$.content"
= "$.size"
= "$.response"
## Or hard-code the response path as a URL
#backend.response_url = "https://example.com"
# Allow only specific headers to reach the backend server and be reflected back to the client.
= ["Authorization"]
= ["Authorization"]
# Optionally denylist headers. These get applied after the allowlist.
#backend.deny_headers_backend = ["X-Internal-*"]
#backend.deny_headers_client = ["X-Internal-*"]
# Set client authentication
#backend.http.key = "key.pem"
#backend.http.cert = "cert.pem"
# Set root certificates
#backend.http.root_store = "root.crt"
# Disable HTTP caching
#backend.http.use_cache = false