nginx: Is it possible to have an 'catch all' error_page?
It is not possible.
Moreover, it is not recommended to blindly list all codes, as
- nginx allows to redefine all response codes, including ones you don't really want to redefine except in a few very specific situations (e.g. you don't normally want to redefine 304 (Not Modified), and probably not 302 (Found) unless there are very specific reasons);
- redefining some of the error codes might cause more harm than good (e.g. redefining 400 (Bad Request) is a bad idea).