2016-10-04 02:21:21 +00:00
|
|
|
# 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.
|
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"
|
2016-10-15 01:57:36 +00:00
|
|
|
hi = "Hello!"
|
|
|
|
is_extra = true
|
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!
|
|
|
|
session_key = "VheMwXIBygSmOlZAhuWl2B+zgvTN3WW5"
|
|
|
|
|
|
|
|
[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!
|
|
|
|
session_key = "adL5fFIPmZBrlyHk2YT4NLV3YCk2gFXz"
|