Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25a650e

Browse files
author
Joao Fernandes
committed
Add 404 error page
1 parent 0e77e75 commit 25a650e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nginx.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ http {
1313
include /etc/nginx/mime.types;
1414
}
1515
listen 4000;
16+
error_page 403 404 /404.html;
1617
}
1718
}

0 commit comments

Comments
 (0)