aboutsummaryrefslogtreecommitdiff
path: root/server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'server.sh')
-rwxr-xr-xserver.sh2
1 files changed, 2 insertions, 0 deletions
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;