@@ -279,8 +279,15 @@ environment variable should be plural (trailing `S`).
279This is particularly useful for storing secrets outside a configuration file
279This is particularly useful for storing secrets outside a configuration file
280or the command line.
280or the command line.
282−For example, the `--cookie-secret` flag becomes `OAUTH2_PROXY_COOKIE_SECRET`,
282+For example, the `--cookie-secret` flag becomes `OAUTH2_PROXY_COOKIE_SECRET`.
283+If a flag has the type `string | list` like the `--email-domain` flag it is
283−and the `--email-domain` flag becomes `OAUTH2_PROXY_EMAIL_DOMAINS`.
284+available as an environment variable in plural form e.g. `OAUTH2_PROXY_EMAIL_DOMAINS`
286+Values for type `string | list` usually have a plural environment variable name
287+and need to be seperated by `,` e.g.
288+`OAUTH2_PROXY_SKIP_AUTH_ROUTES="GET=^/api/status,POST=^/api/saved_objects/_import"`
290+Please check the type for each [config option](#config-options) first.
285## Logging Configuration
292## Logging Configuration