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