Commit 2672fe8
Changed files (1)
nginx
nginx/nginx.conf
@@ -96,6 +96,12 @@ http {
}
error_page 404 /404.html;
+ location = /404.html {
+ add_header Surrogate-Key "404";
+ root /usr/local/www/blog;
+ internal;
+ etag off;
+ }
}
}