From 67c8eed118957223373e537b04efdc5d54ba8ae1 Mon Sep 17 00:00:00 2001 From: Locria Cyber <74560659+iacore@users.noreply.github.com> Date: Wed, 10 May 2023 01:45:18 +0000 Subject: [PATCH] Add 404 page --- iacore.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/iacore.conf b/iacore.conf index a3471e7..521aaaf 100644 --- a/iacore.conf +++ b/iacore.conf @@ -8,6 +8,7 @@ server { root /srv/http/pages/iacore; index index.html; + error_page 404 404.html; location / { try_files $uri $uri.html $uri/ =404;