CS-Coursework/Rocket.toml

28 lines
498 B
TOML

[default]
address = "192.168.0.109"
port = 10713
workers = 4
max_blocking = 512
keep_alive = 5
ident = "Rocket"
log_level = "critical"
temp_dir = "/tmp"
cli_colors = true
## NOTE: Don't (!) use this key! Generate your own!
secret_key = "abcdefghijklmnop"
[default.limits]
form = "64 kB"
json = "1 MiB"
msgpack = "2 MiB"
"file/jpg" = "5 MiB"
# [default.tls]
# certs = "path/to/cert-chain.pem"
# key = "path/to/key.pem"
[default.shutdown]
ctrlc = true
signals = ["term", "hup"]
grace = 5
mercy = 5