ugly working draft

This commit is contained in:
A.Unger
2020-12-02 15:31:17 +01:00
parent 752cd4f626
commit 2910e88ba5
9 changed files with 81 additions and 16 deletions
+8 -1
View File
@@ -248,8 +248,15 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
EnvVars: []string{"PROXY_ENABLE_BASIC_AUTH"},
Destination: &cfg.EnableBasicAuth,
},
}
// Reva Middlewares Config
&cli.StringSliceFlag{
Name: "proxy-user-agent-whitelist", // TODO naming?
Value: cli.NewStringSlice(""),
Usage: "TODO",
EnvVars: []string{"PROXY_MIDDLEWARE_AUTH_CREDENTIALS_BY_USER_AGENT"},
},
}
}
// ListProxyWithConfig applies the config to the list commands flags.