This commit is contained in:
WJQSERVER 2024-10-19 16:05:18 +08:00
parent 47d062a1c4
commit c50f23c399
14 changed files with 78 additions and 70 deletions

View file

@ -1,23 +1,23 @@
[server]
host = "127.0.0.1"
port = 8080
sizelimit = 131072000 # 125MB
sizeLimit = 131072000 # 125MB
[log]
logfilepath = "/root/data/ghproxy/log/ghproxy.log"
maxlogsize = 5 # MB
logFilePath = "/root/data/ghproxy/log/ghproxy.log"
maxLogSize = 5 # MB
[cors]
enabled = true
[auth]
authtoken = "test"
authToken = "token"
enabled = false
[blacklist]
blacklistfile = "/root/data/ghproxy/config/blacklist.json"
blacklistFile = "/root/data/ghproxy/config/blacklist.json"
enabled = false
[whitelist]
enabled = false
whitelistfile = "/root/data/ghproxy/config/whitelist.json"
whitelistFile = "/root/data/ghproxy/config/whitelist.json"