mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
models/server: add statistics for proxies enabled privilege mode.
This commit is contained in:
parent
dee4cbd48c
commit
fd6b94908b
@ -297,8 +297,10 @@ func CreateProxy(s *ProxyServer) error {
|
|||||||
delete(ProxyServers, s.Name)
|
delete(ProxyServers, s.Name)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
s.Init()
|
|
||||||
ProxyServers[s.Name] = s
|
ProxyServers[s.Name] = s
|
||||||
|
metric.SetProxyInfo(s.Name, s.Type, s.BindAddr, s.UseEncryption, s.UseGzip,
|
||||||
|
s.PrivilegeMode, s.CustomDomains, s.ListenPort)
|
||||||
|
s.Init()
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user