Add 404 error page to nginx config
This commit is contained in:
parent
2396106339
commit
379ef48078
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user