added rocket.toml.example
This commit is contained in:
parent
45e7887a7e
commit
a611ab02ef
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ Cargo.lock
|
||||
|
||||
.DS_Store
|
||||
.env
|
||||
Rocket.toml
|
23
Rocket.toml.example
Normal file
23
Rocket.toml.example
Normal file
@ -0,0 +1,23 @@
|
||||
[default]
|
||||
address = "::"
|
||||
port = 8000
|
||||
workers = 4
|
||||
max_blocking = 512
|
||||
keep_alive = 5
|
||||
ident = "Rocket"
|
||||
log_level = "normal"
|
||||
temp_dir = "/tmp"
|
||||
cli_colors = true
|
||||
secret_key = "Change This"
|
||||
|
||||
[default.limits]
|
||||
form = "64 kB"
|
||||
json = "1 MiB"
|
||||
msgpack = "2 MiB"
|
||||
"file/jpg" = "5 MiB"
|
||||
|
||||
[default.shutdown]
|
||||
ctrlc = true
|
||||
signals = ["term", "hup"]
|
||||
grace = 5
|
||||
mercy = 5
|
Loading…
Reference in New Issue
Block a user