28 lines
495 B
TOML
28 lines
495 B
TOML
|
[default]
|
||
|
address = "192.168.0.131"
|
||
|
port = 8000
|
||
|
workers = 4
|
||
|
max_blocking = 512
|
||
|
keep_alive = 5
|
||
|
ident = "Rocket"
|
||
|
log_level = "normal"
|
||
|
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
|