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:
Willy Kloucek authored and GitHub committed 2020-12-14 15:53:09 +01:00
commit ee2405089c
2 files changed
+6

No files matched your search

+3
View File
@@ -73,6 +73,9 @@ func FrontendWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"STORAGE_FRONTEND_HTTP_ADDR"}, EnvVars: []string{"STORAGE_FRONTEND_HTTP_ADDR"},
Destination: &cfg.Reva.Frontend.HTTPAddr, 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{ &cli.StringFlag{
Name: "public-url", Name: "public-url",
Value: "https://localhost:9200", Value: "https://localhost:9200",
+3
View File
@@ -139,6 +139,9 @@ func GatewayWithConfig(cfg *config.Config) []cli.Flag {
Destination: &cfg.Reva.StorageRegistry.HomeProvider, 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{ &cli.StringFlag{
Name: "public-url", Name: "public-url",
Value: "https://localhost:9200", Value: "https://localhost:9200",