configuration.md: clarify CLI -> config options (#442)
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 <Joel.speed@hotmail.co.uk>
commit0fc4131c72b6be8e4b6aea752cdeefc2c4172f64
authorJakub Holy <jakub.holy@telia.no>
dateFri 13 Mar 2020, 21:21 (7 years ago)
parent8d0149c
docs/configuration/configuration.md+2
@@ -14,6 +14,8 @@ To generate a strong cookie secret use `python -c 'import os,base64; print(base6
1414
1515### Config File
1616
17+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).
18+
1719An 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`
1820
1921### Command Line Options