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

@@ -277,4 +277,5 @@ func (s *Server) AddHTTP2HTTPS() {
})
newDir.Block = block
s.UpdateDirectiveBySecondKey("if", "($scheme", newDir)
}