From 372dc742940e3b536e50b851ce87b8e449531b31 Mon Sep 17 00:00:00 2001 From: Kai Hendry Date: Fri, 2 Oct 2015 14:58:13 +0800 Subject: [PATCH] Need to re-think the 404.php to show fetch logs? --- nginx.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 2bfa54c..9eafbce 100644 --- a/nginx.conf +++ b/nginx.conf @@ -19,7 +19,8 @@ http { charset utf-8; access_log /srv/http/u/greptweet.access.log; error_log /srv/http/u/greptweet.error.log; - error_page 404 403 =303 /404.php; + error_page 403 =303 /404.php; + error_page 404 /404.php; location / { index index.php index.html;