Simple utility that creates error pages for nginx.
  • HTML 55.2%
  • JavaScript 44.8%
Find a file
2026-05-27 21:09:49 +02:00
.gitignore Init 2026-05-27 21:09:49 +02:00
errors.json Init 2026-05-27 21:09:49 +02:00
index.html Init 2026-05-27 21:09:49 +02:00
index.mjs Init 2026-05-27 21:09:49 +02:00
README.md Init 2026-05-27 21:09:49 +02:00

Extramly simple error page generator

How to edit

index.html is the template file. errors.json is the error message config. (You can set the messages to anything you want.)

There are special strings that are replaced on build: - %ERROR_CODE% - Error code (400,500,...) - %ERROR_MSG% - Error message (Unauthorized,Not Found,...)

How to use

Run index.mjs with any nodejs compatibe runtime.