aboutsummaryrefslogtreecommitdiffstats
path: root/Rocket.toml.example
blob: 9dbee4a3705438f9a17b04641936259793c4c58f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[global.databases]
# Change the database url for your setup
main = { url = "postgres:///...." }

[development]
address = "localhost"
port = 8000
workers = 2
keep_alive = 5
log = "normal"
limits = { forms = 32768 }

[staging]
address = "0.0.0.0"
port = 8000
workers = 2
keep_alive = 5
log = "normal"
# You have to generate a secret key, f.eks by `openssl rand -base64 32`.
# Resetting this value will invalidate any cookies etc.
secret_key = ...
limits = { forms = 32768 }

[production]
address = "0.0.0.0"
port = 8000
keep_alive = 5
log = "critical"
# You have to generate a secret key, f.eks by `openssl rand -base64 32`.
# Resetting this value will invalidate any cookies etc.
secret_key = ...
limits = { forms = 32768 }