mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-01-12 18:15:30 +08:00
fix: Fixed Website configuration file automatically keeps adding HTTPS redirects
This commit is contained in:
parent
4e7b654090
commit
987fa948bd
1 changed files with 1 additions and 1 deletions
|
|
@ -487,7 +487,7 @@ func (s *Server) AddHTTP2HTTPS(httpsPort int) {
|
|||
}
|
||||
|
||||
newDir.Block = block
|
||||
s.UpdateDirectiveBySecondKey("if", " ($scheme", newDir)
|
||||
s.UpdateDirectiveBySecondKey("if", "($scheme", newDir)
|
||||
}
|
||||
|
||||
func (s *Server) UpdateAllowIPs(ips []string) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue