nginx as reverse proxy and custom 500 error

ManuelRighi nginx-forum at forum.nginx.org
Tue Mar 21 13:43:43 UTC 2017


Hello,
I use nginx as reverse proxy for my IIS web server.
I have custom error page when 500 error occours.

My goal is to have custom error page for all but detailed error (no custom
error essentially) from my specific ip.

It's possible to have detailed error page from my specific ip and custom
error page from all others ?
Or ignore error_page directive if error 500 occours and request is from my
specific ip ?


Thanks
Manuel

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273081,273081#msg-273081



More information about the nginx mailing list