26 lines
523 B
TOML
26 lines
523 B
TOML
[registry]
|
|
data_dir = "/opt/kdata"
|
|
max_crate_size = 10
|
|
auth_required = false
|
|
required_crate_fields = []
|
|
# Disallows new crate publishing by the users.
|
|
new_crates_restricted = false
|
|
# Prevents last crate owner removal, if set to false.
|
|
allow_ownerless_crates = false
|
|
|
|
[docs]
|
|
enabled = false
|
|
max_size = 100
|
|
|
|
[local]
|
|
ip = "0.0.0.0"
|
|
port = 8000
|
|
|
|
[origin]
|
|
hostname = "crates.example.com"
|
|
port = 443
|
|
protocol = "https"
|
|
# Run Kellnr on a sub path of a URL, e.g. https://www.example.com/kellnring/
|
|
# path = "/kellnring/"
|
|
path = ""
|