mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 08:11:11 +08:00
H2C-fix2
This commit is contained in:
parent
f6f1ff7362
commit
d297f785db
3 changed files with 13 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ type ServerConfig struct {
|
|||
Port int `toml:"port"`
|
||||
Host string `toml:"host"`
|
||||
SizeLimit int `toml:"sizeLimit"`
|
||||
EnableH2C bool `toml:"enableH2C"`
|
||||
EnableH2C string `toml:"enableH2C"`
|
||||
}
|
||||
|
||||
type PagesConfig struct {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
host = "127.0.0.1"
|
||||
port = 8080
|
||||
sizeLimit = 125 # MB
|
||||
enableH2C = true
|
||||
enableH2C = "on" # "on" or "off"
|
||||
|
||||
[pages]
|
||||
enabled = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue