-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rocket.toml
59 lines (51 loc) · 1.12 KB
/
Rocket.toml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[default]
address = "0.0.0.0"
port = 8000
workers = 4
max_blocking = 512
keep_alive = 5
ident = "Rocket"
ip_header = "X-Real-IP" # set to `false` to disable
log_level = "critical"
temp_dir = "/tmp"
cli_colors = true
secret_key = "hPrYyЭRiMyµ5sBB1π+CMæ1køFsåqKvBiQJxBVHQk="
[default.limits]
form = "64 kB"
json = "500 MiB"
msgpack = "500 MiB"
"file/jpg" = "5 MiB"
[default.tls]
certs = "path/to/cert-chain.pem"
key = "path/to/key.pem"
[default.shutdown]
ctrlc = true
signals = ["term", "hup"]
grace = 5
mercy = 5
###################################
[release]
address = "0.0.0.0"
port = 8000
workers = 4
max_blocking = 512
keep_alive = 5
ident = "Rocket"
ip_header = "X-Real-IP" # set to `false` to disable
log_level = "critical"
temp_dir = "/tmp"
cli_colors = true
secret_key = "hPrYyЭRiMyµ5sBB1π+CMæ1køFsåqKvBiQJxBVHQk="
[release.limits]
form = "64 kB"
json = "500 MiB"
msgpack = "500 MiB"
"file/jpg" = "5 MiB"
[release.tls]
certs = "path/to/cert-chain.pem"
key = "path/to/key.pem"
[release.shutdown]
ctrlc = true
signals = ["term", "hup"]
grace = 5
mercy = 5