git.iko.soy/typeable/oauth2-proxy
on master help sign in
Fix tls-*-file docs
commit7b1132df13dfac02ff9105ae9a285aa3afe1ccb2 authorJoel Speed <Joel.speed@hotmail.co.uk> dateWed 17 Jul 2019, 09:58 (7 years ago) parent6bf3f2a
2 files changed+5−5
docs/4_tls.md+3−3 docs/configuration/configuration.md+2−2
docs/4_tls.md+3−3
@@ -9,7 +9,7 @@ nav_order: 4
99
1010There are two recommended configurations.
1111
12−1. Configure SSL Termination with OAuth2 Proxy by providing a `--tls-cert=/path/to/cert.pem` and `--tls-key=/path/to/cert.key`.
12+1. Configure SSL Termination with OAuth2 Proxy by providing a `--tls-cert-file=/path/to/cert.pem` and `--tls-key-file=/path/to/cert.key`.
1313
1414The command line to run `oauth2_proxy` in this configuration would look like this:
1515
@@ -17,8 +17,8 @@ The command line to run `oauth2_proxy` in this configuration would look like thi
1717./oauth2_proxy \
1818 --email-domain="yourcompany.com" \
1919 --upstream=http://127.0.0.1:8080/ \
20− --tls-cert=/path/to/cert.pem \
21− --tls-key=/path/to/cert.key \
20+ --tls-cert-file=/path/to/cert.pem \
21+ --tls-key-file=/path/to/cert.key \
2222 --cookie-secret=... \
2323 --cookie-secure=true \
2424 --provider=... \
docs/configuration/configuration.md+2−2
@@ -98,8 +98,8 @@ Usage of oauth2_proxy:
9898 -ssl-insecure-skip-verify: skip validation of certificates presented when using HTTPS
9999 -standard-logging: Log standard runtime information (default true)
100100 -standard-logging-format string: Template for standard log lines (see "Logging Configuration" paragraph below)
101− -tls-cert string: path to certificate file
102− -tls-key string: path to private key file
101+ -tls-cert-file string: path to certificate file
102+ -tls-key-file string: path to private key file
103103 -upstream value: the http url(s) of the upstream endpoint or file:// paths for static files. Routing is based on the path
104104 -validate-url string: Access token validation endpoint
105105 -version: print version string