TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

One NGINX error page to rule them all

3 pointsby harianusover 6 years ago

1 comment

harianusover 6 years ago
After years of NGINX love and hate I finally managed to have my error pages properly styled. Not one HTML page per error, but one template for all.<p>I always ended up using HTML files for the most common errors, but this is time consuming and annoying to do. Now I have just one error HTML page where I can have custom error messages and descriptions.<p>It uses the SSI module which is part of NGINX, so no fancy external module.<p>I hope it helps you as well!