-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.config.hcl
23 lines (20 loc) · 1.42 KB
/
example.config.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
####################################################################################################
# Do not delete this file or any of the specified fields. This results in the program crashing. #
# 08.08.2023 - @voxelin #
####################################################################################################
server {
serverName = "Simple Cache v1.2.4" # Sets the `Server` header for each response.
appName = "Simple Cache" # Sets the app name to display in the terminal.
port = 8080 # Server port
databaseUrl = "postgres://user:password@localhost:5432/db" # PostgreSQL Connection URL
seed = 3719 # Seed for ID generation [type: random number > 0]
}
logger {
forceColors = false # Force colored output
fullTimestamp = true
}
limits {
maxSize = 10 # Max uploaded body size in MB
blockTor = false # Block TOR exit nodes
ipBlacklist = [] # ["168.0.2.3", "1.2.3.4"...]
}