Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Re: auth_request own error_page

$
0
0
I have done this by patching auth_request module to pass 441 and 443 custom http status codes throu, and then I defined "error_page 441 =401 /unauth.html" in nginx config. I make subrequest url to return "Status: 441" instead of 401, nginx error_page directive turns it to 401.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>