added rocket.toml.example

This commit is contained in:
Arlo Filley 2024-03-21 17:59:00 +00:00
parent 45e7887a7e
commit a611ab02ef
2 changed files with 25 additions and 1 deletions

3
.gitignore vendored
View File

@ -2,4 +2,5 @@
Cargo.lock Cargo.lock
.DS_Store .DS_Store
.env .env
Rocket.toml

23
Rocket.toml.example Normal file
View 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