mirror of
https://github.com/nullishamy/ferri.git
synced 2025-06-28 09:04:18 +00:00
feat: initial commit
This commit is contained in:
commit
a4a1ef0745
19 changed files with 4436 additions and 0 deletions
26
Rocket.toml
Normal file
26
Rocket.toml
Normal file
|
@ -0,0 +1,26 @@
|
|||
[default]
|
||||
address = "0.0.0.0"
|
||||
port = 8080
|
||||
workers = 16
|
||||
max_blocking = 512
|
||||
keep_alive = 5
|
||||
ident = "Rocket"
|
||||
ip_header = "X-Real-IP" # set to `false` to disable
|
||||
log_level = "normal"
|
||||
temp_dir = "/tmp"
|
||||
cli_colors = true
|
||||
|
||||
[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
|
||||
|
||||
[default.databases.sqlite_ferri]
|
||||
url = "./ferri.db"
|
Loading…
Add table
Add a link
Reference in a new issue