ghproxy/docker/dockerfile/nocache/config.toml
2024-11-07 13:52:49 +08:00

32 lines
473 B
TOML

[server]
host = "0.0.0.0"
port = 80
sizeLimit = 125 # MB
[pages]
enabled = true
staticDir = "/data/www"
[log]
logFilePath = "/data/ghproxy/log/ghproxy.log"
maxLogSize = 5 # MB
[cors]
enabled = true
[auth]
authToken = "token"
enabled = false
[blacklist]
blacklistFile = "/data/ghproxy/config/blacklist.json"
enabled = false
[whitelist]
enabled = false
whitelistFile = "/data/ghproxy/config/whitelist.json"
[rateLimit]
enabled = false
ratePerMinute = 180
burst = 5