Custom error page¶
This feature customizes the 4XX and 5XX error pages returned by Nginx, relying on the project tarampampam/error-pages.
This is the first feature I integrated into my Nginx stack. It replaces the default Nginx error pages with more modern and visually pleasant ones.
Like all auxiliary features, it must be configured at the dashboard level.
Enable custom error pages¶
Start by going to: Integration / Error pages and copy the configuration code.

Then go to Administration / Configuration, open the Error pages tab, paste the text into the configuration area and click Save.

Go back to Error pages and click the Start button.

The container is started to serve the custom error pages.

Configure custom error pages in virtual hosts¶
To serve custom error pages, use the global-error.conf snippet.
In the server{...} block, add the call to the snippet: