Rocket/examples/config/Rocket.toml

27 lines
649 B
TOML
Raw Normal View History

# Except for the session key, none of these are actually needed; Rocket has sane
# defaults. We show all of them here explicitly for demonstrative purposes.
[development]
address = "localhost"
port = 8000
2017-01-12 10:38:14 +00:00
workers = 1
log = "normal"
hi = "Hello!"
is_extra = true
[staging]
address = "0.0.0.0"
port = 80
log = "normal"
2017-01-12 10:38:14 +00:00
workers = 8
# don't use this key! generate your own and keep it private!
session_key = "8Xui8SN4mI+7egV/9dlfYYLGQJeEx4+DwmSQLwDVXJg="
[production]
address = "0.0.0.0"
port = 80
2017-01-12 10:38:14 +00:00
workers = 12
log = "critical"
# don't use this key! generate your own and keep it private!
session_key = "hPRYyVRiMyxpw5sBB1XeCMN1kFsDCqKvBi2QJxBVHQk="