2017-03-30 20:44:51 +00:00
|
|
|
# Except for the secret key, none of these are actually needed; Rocket has sane
|
2016-10-04 02:21:21 +00:00
|
|
|
# defaults. We show all of them here explicitly for demonstrative purposes.
|
2016-10-03 10:39:56 +00:00
|
|
|
|
2021-04-08 02:01:48 +00:00
|
|
|
[default.limits]
|
2020-09-03 05:41:31 +00:00
|
|
|
forms = "64 kB"
|
|
|
|
json = "1 MiB"
|
|
|
|
msgpack = "2 MiB"
|
2021-03-15 09:43:01 +00:00
|
|
|
"file/jpg" = "5 MiB"
|
2017-04-18 07:25:13 +00:00
|
|
|
|
2021-04-08 02:01:48 +00:00
|
|
|
[default]
|
|
|
|
key = "a default app-key"
|
|
|
|
extra = false
|
2021-06-09 06:00:36 +00:00
|
|
|
ident = "Rocket"
|
2021-04-08 02:01:48 +00:00
|
|
|
|
2020-09-03 05:41:31 +00:00
|
|
|
[debug]
|
|
|
|
address = "127.0.0.1"
|
2016-10-03 10:39:56 +00:00
|
|
|
port = 8000
|
2017-01-12 10:38:14 +00:00
|
|
|
workers = 1
|
2020-09-03 05:41:31 +00:00
|
|
|
keep_alive = 0
|
|
|
|
log_level = "normal"
|
2016-10-03 10:39:56 +00:00
|
|
|
|
2020-09-03 05:41:31 +00:00
|
|
|
[release]
|
|
|
|
address = "127.0.0.1"
|
2017-10-05 19:59:06 +00:00
|
|
|
port = 8000
|
2017-01-12 10:38:14 +00:00
|
|
|
workers = 12
|
2018-02-17 12:06:05 +00:00
|
|
|
keep_alive = 5
|
2020-09-03 05:41:31 +00:00
|
|
|
log_level = "critical"
|
2016-10-03 10:39:56 +00:00
|
|
|
# don't use this key! generate your own and keep it private!
|
2017-03-30 20:44:51 +00:00
|
|
|
secret_key = "hPRYyVRiMyxpw5sBB1XeCMN1kFsDCqKvBi2QJxBVHQk="
|
2021-04-08 02:01:48 +00:00
|
|
|
key = "a release app-key"
|
|
|
|
extra = false
|