Skip to content

Custom error pages support with SSI

Choose a tag to compare

@daniel-ac-martin daniel-ac-martin released this 03 Oct 16:32
· 114 commits to master since this release

Error pages must now be mounted in with a .shtml extension. For example, if you want to intercept status code 505 then you must mount in /usr/local/openresty/nginx/html/505.shtml.

Server-side includes allow error pages to be templated and to include some information on the failed request, such as a timestamp.