change to InsecureBackends flag

This commit is contained in:
Willy Kloucek
2020-12-04 07:31:46 +01:00
parent 4c9d990478
commit fe2efc3c46
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -189,8 +189,8 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
Name: "insecure",
Value: false,
Usage: "allow insecure communication to upstream servers",
EnvVars: []string{"PROXY_INSECURE"},
Destination: &cfg.Insecure,
EnvVars: []string{"PROXY_INSECURE_BACKENDS"},
Destination: &cfg.InsecureBackends,
},
// OIDC