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]
|
|
|
|
forms = 32768
|
|
|
|
json = 1048576 # this is an extra used by the json contrib module
|
|
|
|
msgpack = 1048576 # this is an extra used by the msgpack contrib module
|
|
|
|
|
2016-10-03 10:39:56 +00:00
|
|
|
[development]
|
|
|
|
address = "localhost"
|
|
|
|
port = 8000
|
2017-01-12 10:38:14 +00:00
|
|
|
workers = 1
|
2016-10-03 10:39:56 +00:00
|
|
|
log = "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
|
|
|
|
|
|
|
[staging]
|
|
|
|
address = "0.0.0.0"
|
|
|
|
port = 80
|
|
|
|
log = "normal"
|
2017-01-12 10:38:14 +00:00
|
|
|
workers = 8
|
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 = "8Xui8SN4mI+7egV/9dlfYYLGQJeEx4+DwmSQLwDVXJg="
|
2016-10-03 10:39:56 +00:00
|
|
|
|
|
|
|
[production]
|
|
|
|
address = "0.0.0.0"
|
|
|
|
port = 80
|
2017-01-12 10:38:14 +00:00
|
|
|
workers = 12
|
2016-10-03 10:39:56 +00:00
|
|
|
log = "critical"
|
|
|
|
# don't use this key! generate your own and keep it private!
|
2017-03-30 20:44:51 +00:00
|
|
|
secret_key = "hPRYyVRiMyxpw5sBB1XeCMN1kFsDCqKvBi2QJxBVHQk="
|