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
|
|
|
|
2017-04-18 07:25:13 +00:00
|
|
|
[global.limits]
|
2020-09-03 05:41:31 +00:00
|
|
|
forms = "64 kB"
|
|
|
|
json = "1 MiB"
|
|
|
|
msgpack = "2 MiB"
|
2017-04-18 07:25:13 +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"
|
2017-04-18 07:40:33 +00:00
|
|
|
hi = "Hello!" # this is an unused extra; maybe application specific?
|
|
|
|
is_extra = true # this is an unused extra; maybe application specific?
|
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="
|