Merge branch 'feature/azure-idtoken' of github.com:leyshon/oauth2_proxy into feature/azure-idtoken

This commit is contained in:
leyshon 2019-09-02 15:18:14 +01:00
commit b4afbae0d3

View File

@ -126,12 +126,14 @@ Multiple upstreams can either be configured by supplying a comma separated list
Every command line argument can be specified as an environment variable by Every command line argument can be specified as an environment variable by
prefixing it with `OAUTH2_PROXY_`, capitalising it, and replacing hypens (`-`) prefixing it with `OAUTH2_PROXY_`, capitalising it, and replacing hypens (`-`)
with underscores (`_`). This is particularly useful for storing secrets outside with underscores (`_`). If the argument can be specified multiple times, the
of a configuration file or the command line. environment variable should be plural (trailing `S`).
For example, the `--cookie-secret` flag becomes `OAUTH2_PROXY_COOKIE_SECRET` and This is particularly useful for storing secrets outside of a configuration file
the `--set-authorization-header` flag becomes `OAUTH2_PROXY_SET_AUTHORIZATION_HEADER`. or the command line.
For example, the `--cookie-secret` flag becomes `OAUTH2_PROXY_COOKIE_SECRET`,
and the `--email-domain` flag becomes `OAUTH2_PROXY_EMAIL_DOMAINS`.
## Logging Configuration ## Logging Configuration