Skip to content

Commit

Permalink
Move /ping to <prefix>/healthz
Browse files Browse the repository at this point in the history
Consistent with our conventions
  • Loading branch information
smarterclayton committed Sep 7, 2017
1 parent 87331e4 commit 138459b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauthproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func NewOAuthProxy(opts *Options, validator func(string) bool) *OAuthProxy {
Validator: validator,

RobotsPath: "/robots.txt",
PingPath: "/ping",
PingPath: fmt.Sprintf("%s/healthz", opts.ProxyPrefix),
SignInPath: fmt.Sprintf("%s/sign_in", opts.ProxyPrefix),
SignOutPath: fmt.Sprintf("%s/sign_out", opts.ProxyPrefix),
OAuthStartPath: fmt.Sprintf("%s/start", opts.ProxyPrefix),
Expand Down

0 comments on commit 138459b

Please sign in to comment.