From f6dddd37f2c17e7f979cc272347dca2909579001 Mon Sep 17 00:00:00 2001 From: hitlerrip Date: Wed, 6 Aug 2025 04:32:01 +0000 Subject: 404 page - now generates a 404 page on build - nginx config now points to new 404 page --- server.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server.sh') diff --git a/server.sh b/server.sh index 2dc7788..d74395a 100755 --- a/server.sh +++ b/server.sh @@ -156,6 +156,8 @@ server { } root /srv/web; + error_page 404 /404.html + location = /404.html { internal; } index index.html; location / { try_files \$uri \$uri/ =404; -- cgit v1.2.3