Add ability to silence logging of requests to /ping endpoint, reducing log clutter Pros: - Don't have to change all handlers to set/not set silent ping logging - Don't have to duplicate `loggingHandler` (this could be preferable yet) Cons: - Leaking oauth2proxy logic into `package logger` - Defining default pingPath in two locations Alternative: - Add generic exclude path to `logger.go` and pass in `/ping`.
Docs
This folder contains our Jekyll based docs site which is hosted at https://pusher.github.io/oauth2_proxy.
When making changes to this docs site, please test your changes locally:
make serve
To run the docs site locally you will need Ruby at version 2.1.0 or
higher and bundle
(gem install bundler
if you already have Ruby).