This commit is contained in:
WJQSERVER 2024-10-11 10:25:33 +08:00
parent 6864925dbe
commit 69d4d53a51
8 changed files with 102 additions and 16 deletions

23
config/config.toml Normal file
View file

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