mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-04 19:19:03 -06:00
Merge pull request #1070 from owncloud/remove_duplicate_STORAGE_FRONTEND_PUBLIC_URL
add note to duplicate STORAGE_FRONTEND_PUBLIC_URL
This commit is contained in:
@@ -73,6 +73,9 @@ func FrontendWithConfig(cfg *config.Config) []cli.Flag {
|
||||
EnvVars: []string{"STORAGE_FRONTEND_HTTP_ADDR"},
|
||||
Destination: &cfg.Reva.Frontend.HTTPAddr,
|
||||
},
|
||||
// please note that STORAGE_FRONTEND_PUBLIC_URL is also defined in
|
||||
// storage/pkg/flagset/gateway.go because this setting may be consumed
|
||||
// by both the gateway and frontend service
|
||||
&cli.StringFlag{
|
||||
Name: "public-url",
|
||||
Value: "https://localhost:9200",
|
||||
|
||||
@@ -139,6 +139,9 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
|
||||
Destination: &cfg.Reva.StorageRegistry.HomeProvider,
|
||||
},
|
||||
|
||||
// please note that STORAGE_FRONTEND_PUBLIC_URL is also defined in
|
||||
// storage/pkg/flagset/frontend.go because this setting may be consumed
|
||||
// by both the gateway and frontend service
|
||||
&cli.StringFlag{
|
||||
Name: "public-url",
|
||||
Value: "https://localhost:9200",
|
||||
|
||||
Reference in New Issue
Block a user