nginx as reverse proxy and custom 500 error

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

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 ?


Posted at Nginx Forum:,273081,273081#msg-273081

More information about the nginx mailing list