From c46faae757628701be0001bc23ab40a61e6294cd Mon Sep 17 00:00:00 2001 From: Ben Hanzl Date: Wed, 13 Apr 2011 16:23:10 -0400 Subject: [PATCH] specify 404 page --- nginx.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nginx.conf b/nginx.conf index 92899aa..adf44d2 100644 --- a/nginx.conf +++ b/nginx.conf @@ -101,6 +101,9 @@ http { # Path for static files root /sites/example.com/public; + # Custom 404 page + error_page 404 /404.html; + expires 1M; # Static assets