mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 00:01:10 +08:00
update readme.md
This commit is contained in:
parent
979f59545b
commit
6ee928b0c7
3 changed files with 10 additions and 8 deletions
|
|
@ -3,7 +3,7 @@ host = "127.0.0.1"
|
|||
port = 8080
|
||||
sizeLimit = 125 # MB
|
||||
H2C = true
|
||||
enableH2C = "on"
|
||||
cors = "*" # "*"/"" -> "*" ; "nil" -> "" ;
|
||||
debug = false
|
||||
|
||||
[httpc]
|
||||
|
|
@ -12,9 +12,12 @@ maxIdleConns = 100 # only for advanced mode
|
|||
maxIdleConnsPerHost = 60 # only for advanced mode
|
||||
maxConnsPerHost = 0 # only for advanced mode
|
||||
|
||||
[gitclone]
|
||||
mode = "bypass" # bypass / cache
|
||||
smartGitAddr = "http://127.0.0.1:8080"
|
||||
|
||||
[pages]
|
||||
mode = "internal" # "internal" or "external"
|
||||
enabled = false
|
||||
theme = "bootstrap" # "bootstrap" or "nebula"
|
||||
staticDir = "/usr/local/ghproxy/pages"
|
||||
|
||||
|
|
@ -23,9 +26,6 @@ logFilePath = "/usr/local/ghproxy/log/ghproxy.log"
|
|||
maxLogSize = 5 # MB
|
||||
level = "info" # dump, debug, info, warn, error, none
|
||||
|
||||
[cors]
|
||||
enabled = true
|
||||
|
||||
[auth]
|
||||
authMethod = "parameters" # "header" or "parameters"
|
||||
authToken = "token"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue