mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
24w22b
This commit is contained in:
parent
06191e52e5
commit
8787c11e06
8 changed files with 59 additions and 16 deletions
32
docker/dockerfile/nocache/config.toml
Normal file
32
docker/dockerfile/nocache/config.toml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue