mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-15 04:14:58 +08:00
ssue 59: Multi Ip Enviromment support + publicUrl is disregarded by
master
This commit is contained in:
@@ -87,7 +87,7 @@ func runVolume(cmd *Command, args []string) bool {
|
||||
|
||||
glog.V(0).Infoln("Start Weed volume server", VERSION, "at http://"+*ip+":"+strconv.Itoa(*vport))
|
||||
srv := &http.Server{
|
||||
Addr: ":" + strconv.Itoa(*vport),
|
||||
Addr: *ip + ":" + strconv.Itoa(*vport),
|
||||
Handler: r,
|
||||
ReadTimeout: (time.Duration(*vReadTimeout) * time.Second),
|
||||
}
|
||||
|
Reference in New Issue
Block a user