auth_request, HTTP 401 and missing header WWW-Authenticate
piotr.sikora at frickle.com
Wed Feb 2 10:29:47 MSK 2011
> I can see from source code for auth_request that it should produce "WWW-
> Authenticate" headers, however it never does for me... would really
> any suggestions helping me to resolve this.
You're mistaken. The code you're looking at only passes down this header if
upstream produces it (and ngx_postgres doesn't do that).
Try using ngx_headers_more module , I'm pretty sure it can add headers to
Piotr Sikora < piotr.sikora at frickle.com >
More information about the nginx