mirror of https://github.com/ehang-io/nps
Update https.go
parent
63ba9774f9
commit
4d97b0099c
|
@ -79,6 +79,8 @@ func (https *HttpsServer) Start() error {
|
|||
}
|
||||
}
|
||||
}
|
||||
//change the host and header and set proxy setting
|
||||
common.ChangeHostAndHeader(r, host.HostChange, host.HeaderChange, c.Conn.RemoteAddr().String(), s.addOrigin)
|
||||
acceptConn := conn.NewConn(c)
|
||||
acceptConn.Rb = rb
|
||||
l.acceptConn <- acceptConn
|
||||
|
|
Loading…
Reference in New Issue