bitly / oauth2_proxy

A reverse proxy that provides authentication with Google, Github or other provider
MIT License
5.1k stars 1.21k forks source link

Dropping = in the Nginx error_page setting #631

Open sdenel opened 6 years ago

sdenel commented 6 years ago

With the = sign, the unauthenticated response is sent with the status code 200, not 401, which blurs the logs. See also: https://serverfault.com/questions/295789/nginx-return-correct-headers-with-custom-error-documents