Add 404 error page to nginx config
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
error_page 404 error/404.html;
|
||||||
|
location = error/404.html {
|
||||||
|
internal;
|
||||||
|
}
|
||||||
|
|
||||||
location = robots.txt {
|
location = robots.txt {
|
||||||
allow all;
|
allow all;
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
|
|||||||
Reference in New Issue
Block a user