diff --git a/.gitignore b/.gitignore index 8fc794b..5602e5c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ Cargo.lock .DS_Store -.env \ No newline at end of file +.env +Rocket.toml \ No newline at end of file diff --git a/Rocket.toml.example b/Rocket.toml.example new file mode 100644 index 0000000..150fdd6 --- /dev/null +++ b/Rocket.toml.example @@ -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 \ No newline at end of file