Really, truly controlling Nginx error pages

I have googled and searched through this forum.

But this syntax in the config file does NOT help:

# recursive_error_pages on;
error_page 403 404 500 502 503 504  /error.htm;

It works sometimes, but often it just shows me the stock Nginx page.

How do I avoid this once and for all, or is this impossible?

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs