The original post: /r/nginx by /u/alohl669 on 2024-12-01 17:13:01.

Hi, I’m trying to create a custom error page to replace the nginx’s default.

The problem is that I want to do it for every site, or directly for nginx. I mean, I dont want to declare an error page directive on every config file