ghproxy/deploy/config.toml
2024-10-24 01:17:57 +08:00

27 lines
449 B
TOML

[server]
host = "127.0.0.1"
port = 8080
sizeLimit = 125 # MB
[pages]
enabled = true
staticDir = "/root/data/ghproxy/pages"
[log]
logFilePath = "/root/data/ghproxy/log/ghproxy.log"
maxLogSize = 5 # MB
[cors]
enabled = true
[auth]
authToken = "token"
enabled = false
[blacklist]
blacklistFile = "/root/data/ghproxy/config/blacklist.json"
enabled = false
[whitelist]
enabled = false
whitelistFile = "/root/data/ghproxy/config/whitelist.json"