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
# All The Config That can be Set
[]
= "127.0.0.1"
= 80
= 16
= 512
= 5
= "Rocket"
= "X-Real-IP" # set to `false` to disable
= "normal"
# temp_dir = "/tmp"
= true
# secret_key = ""
# [default.limits]
# form = "64 kB"
# json = "1 MiB"
# msgpack = "2 MiB"
# "file/jpg" = "5 MiB"
# [default.tls]
# key = "certs/key.pem"
# certs = "certs/cert.pem"
# [default.shutdown]
# ctrlc = true
# signals = ["term", "hup"]
# grace = 5
# mercy = 5
[]
= "mongodb://localhost:27017"
# Optional settings for MongoDB
# max_connections = 1024
# connect_timeout = 5
# idle_timeout = 120