git.iko.soy/typeable/oauth2-proxy
on master help sign in
Correct tls cert flag name per 186
commitf00a474d91c9fba94b866d31e4b0ae2fbbebadc3 authorKarl Skewes <karl.skewes@gmail.com> dateTue 16 Jul 2019, 11:39 (7 years ago) parentb57d7f7
1 file changed+2−2
main.go+2−2
main.go+2−2
@@ -32,8 +32,8 @@ func main() {
3232
3333 flagSet.String("http-address", "127.0.0.1:4180", "[http://]<addr>:<port> or unix://<path> to listen on for HTTP clients")
3434 flagSet.String("https-address", ":443", "<addr>:<port> to listen on for HTTPS clients")
35− flagSet.String("tls-cert", "", "path to certificate file")
36− flagSet.String("tls-key", "", "path to private key file")
35+ flagSet.String("tls-cert-file", "", "path to certificate file")
36+ flagSet.String("tls-key-file", "", "path to private key file")
3737 flagSet.String("redirect-url", "", "the OAuth Redirect URL. ie: \"https://internalapp.yourcompany.com/oauth2/callback\"")
3838 flagSet.Bool("set-xauthrequest", false, "set X-Auth-Request-User and X-Auth-Request-Email response headers (useful in Nginx auth_request mode)")
3939 flagSet.Var(&upstreams, "upstream", "the http url(s) of the upstream endpoint or file:// paths for static files. Routing is based on the path")