mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-30 02:38:17 +08:00
[REV] change change the default value of node ip to 0.0.0.0
This commit is contained in:
parent
337ad83743
commit
782f84db6c
@ -76,7 +76,7 @@ func (g *GWServer) AddFlags(fs *pflag.FlagSet) {
|
||||
fs.StringVar(&g.NginxUser, "nginx-user", "root", "nginx user name")
|
||||
fs.IntVar(&g.KeepaliveRequests, "keepalive-requests", 100000, "Number of requests a client can make over the keep-alive connection. This is set high for testing.")
|
||||
fs.IntVar(&g.KeepaliveTimeout, "keepalive-timeout", 30, "Timeout for keep-alive connections. Server will close connections after this time.")
|
||||
fs.StringVar(&g.IP, "ip", "127.0.0.1", "Node ip.") // TODO: more detail
|
||||
fs.StringVar(&g.IP, "ip", "0.0.0.0", "Node ip.") // TODO: more detail
|
||||
}
|
||||
|
||||
// SetLog sets log
|
||||
|
Loading…
Reference in New Issue
Block a user