mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
24w08a
This commit is contained in:
parent
51d84f0fc3
commit
e4713d0f50
6 changed files with 120 additions and 17 deletions
|
|
@ -11,6 +11,7 @@ type Config struct {
|
|||
Host string `yaml:"host"`
|
||||
SizeLimit int `yaml:"sizelimit"`
|
||||
LogFilePath string `yaml:"logfilepath"`
|
||||
MaxLogSize int `yaml:"maxlogsize"`
|
||||
CORSOrigin bool `yaml:"CorsAllowOrigins"`
|
||||
Auth bool `yaml:"auth"`
|
||||
AuthToken string `yaml:"authtoken"`
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ port: 8080
|
|||
host: "127.0.0.1"
|
||||
sizelimit: 131072000 # 125MB
|
||||
logfilepath: "/data/ghproxy/log/ghproxy.log"
|
||||
maxlogsize: 25 #MB
|
||||
CorsAllowOrigins: true
|
||||
auth: false
|
||||
authtoken: "test"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue