mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-24 15:19:25 -04:00
Bind to 0.0.0.0 instead of localhost
This commit is contained in:
1 file changed
+2
-2
@@ -44,7 +44,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "http-addr",
|
||||
Value: "localhost:9181",
|
||||
Value: "0.0.0.0:9181",
|
||||
Usage: "Address to bind http server",
|
||||
EnvVars: []string{"ACCOUNTS_HTTP_ADDR"},
|
||||
Destination: &cfg.HTTP.Addr,
|
||||
@@ -65,7 +65,7 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "grpc-addr",
|
||||
Value: "localhost:9180",
|
||||
Value: "0.0.0.0:9180",
|
||||
Usage: "Address to bind grpc server",
|
||||
EnvVars: []string{"ACCOUNTS_GRPC_ADDR"},
|
||||
Destination: &cfg.GRPC.Addr,
|
||||
|
||||
Reference in new issue
Block a user