From 3ad2aa84e0bd66c30b29830bca2db8df52bd494f Mon Sep 17 00:00:00 2001 From: Kai Hendry Date: Sun, 25 Oct 2015 18:55:45 +0800 Subject: [PATCH] We need to the 404 error since it's lost once nginx redirects to us --- www/404.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/404.php b/www/404.php index d01f533..dde0828 100644 --- a/www/404.php +++ b/www/404.php @@ -7,6 +7,7 @@ $username = basename($_SERVER["REQUEST_URI"]); die(); } } +http_response_code(404); ?> -

Error

+

404 error