summaryrefslogtreecommitdiff
path: root/Rocket.toml
blob: 9037d62b4370c3d124e5d449b265f6eb258b41f5 (plain)
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
[development]
address = "localhost"
port = 8008
#workers = [number of cpus * 2]
keep_alive = 5
log = "debug"
#secret_key = [randomly generated at launch]
limits = { forms = 32768 }

[staging]
address = "0.0.0.0"
port = 8008
#workers = [number of cpus * 2]
keep_alive = 5
log = "normal"
#secret_key = [randomly generated at launch]
limits = { forms = 32768 }

[production]
address = "0.0.0.0"
port = 80
#workers = [number of cpus * 2]
keep_alive = 5
log = "critical"
#secret_key = [randomly generated at launch]
limits = { forms = 32768 }