mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
1.5.1
This commit is contained in:
parent
2edb6f6dd7
commit
18f78385f3
10 changed files with 153 additions and 32 deletions
23
deploy/config.toml
Normal file
23
deploy/config.toml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
[server]
|
||||
host = "127.0.0.1"
|
||||
port = 8080
|
||||
sizelimit = 131072000 # 125MB
|
||||
|
||||
[log]
|
||||
logfilepath = "/root/data/ghproxy/log/ghproxy.log"
|
||||
maxlogsize = 5 # MB
|
||||
|
||||
[cors]
|
||||
enabled = true
|
||||
|
||||
[auth]
|
||||
authtoken = "test"
|
||||
enabled = false
|
||||
|
||||
[blacklist]
|
||||
blacklistfile = "/root/data/ghproxy/config/blacklist.json"
|
||||
enabled = false
|
||||
|
||||
[whitelist]
|
||||
enabled = false
|
||||
whitelistfile = "/root/data/ghproxy/config/whitelist.json"
|
||||
Loading…
Add table
Add a link
Reference in a new issue