diff --git a/server/proxy/https.go b/server/proxy/https.go index 3f0be1d..e26f65b 100644 --- a/server/proxy/https.go +++ b/server/proxy/https.go @@ -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