fix: 解决删除HTTPS时候没有清除配置的问题

This commit is contained in:
zhengkunwang223
2023-01-11 15:15:48 +08:00
committed by zhengkunwang223
parent 1fcc21839a
commit 0e6530f0cc
12 changed files with 33 additions and 54 deletions

View File

@@ -39,9 +39,11 @@ func (c *Config) FindHttp() *Http {
var repeatKeys = map[string]struct {
}{
"limit_conn": {},
"limit_conn_zone": {},
"set": {},
"limit_conn": {},
"limit_conn_zone": {},
"set": {},
"if": {},
"proxy_set_header": {},
}
func IsRepeatKey(key string) bool {