This commit is contained in:
WJQSERVER 2024-11-07 13:52:49 +08:00
parent 06191e52e5
commit 8787c11e06
8 changed files with 59 additions and 16 deletions

View file

@ -0,0 +1,32 @@
[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