git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge branch 'feature/azure-idtoken' of github.com:leyshon/oauth2_proxy into feature/azure-idtoken
b4afbaeleyshon
docs/configuration/configuration.md+6−4
@@ -126,12 +126,14 @@ Multiple upstreams can either be configured by supplying a comma separated list
126
126
127Every command line argument can be specified as an environment variable by
127Every command line argument can be specified as an environment variable by
128prefixing it with `OAUTH2_PROXY_`, capitalising it, and replacing hypens (`-`)
128prefixing it with `OAUTH2_PROXY_`, capitalising it, and replacing hypens (`-`)
129−with underscores (`_`). This is particularly useful for storing secrets outside
129+with underscores (`_`). If the argument can be specified multiple times, the
130−of a configuration file or the command line.
130+environment variable should be plural (trailing `S`).
131
131
132−For example, the `--cookie-secret` flag becomes `OAUTH2_PROXY_COOKIE_SECRET` and
132+This is particularly useful for storing secrets outside of a configuration file
133−the `--set-authorization-header` flag becomes `OAUTH2_PROXY_SET_AUTHORIZATION_HEADER`.
133+or the command line.
134
134
135+For example, the `--cookie-secret` flag becomes `OAUTH2_PROXY_COOKIE_SECRET`,
136+and the `--email-domain` flag becomes `OAUTH2_PROXY_EMAIL_DOMAINS`.
135
137
136## Logging Configuration
138## Logging Configuration
137
139