dbob16
January 1, 2025, 4:18am
3
I had some time to toy with my nginx config and got my 404 page working. I made a post in the tips & tricks category of this forum, linked below. I hope it helps.
If your custom 404 page doesn’t work or stops working on Nginx, it might be missing the declaration in the config file for your site.
I have just found that adding the following line in the primary server block for mine made it work (somewhere between the root line and the location block worked for me):
error_page 404 /404.html;
So for example, those lines on mine look something like:
[image]
I imagine if you wanted to make additional error pages for different errors codes, you could probab…