Skip to content

Commit

Permalink
configuration.md: clarify CLI -> config options (oauth2-proxy#442)
Browse files Browse the repository at this point in the history
Clarify how to rename CLI options to be able to set them in the config file. I have just spent an hour trying to find out why `whitelist_domain="..."` does not work :-)

Co-authored-by: Joel Speed <[email protected]>
  • Loading branch information
Jakub Holy and JoelSpeed authored Mar 13, 2020
1 parent 8d0149c commit 0fc4131
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/configuration/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ To generate a strong cookie secret use `python -c 'import os,base64; print(base6

### Config File

Every command line argument can be specified in a config file by replacing hypens (-) with underscores (\_). If the argument can be specified multiple times, the config option should be plural (trailing s).

An example [oauth2_proxy.cfg]({{ site.gitweb }}/contrib/oauth2_proxy.cfg.example) config file is in the contrib directory. It can be used by specifying `-config=/etc/oauth2_proxy.cfg`

### Command Line Options
Expand Down

0 comments on commit 0fc4131

Please sign in to comment.