pref: update 404 page
This commit is contained in:
parent
be77944895
commit
cdb5102710
@ -12,8 +12,6 @@ server {
|
|||||||
gzip_disable "MSIE [1-6]\.";
|
gzip_disable "MSIE [1-6]\.";
|
||||||
gzip_vary on;
|
gzip_vary on;
|
||||||
|
|
||||||
error_page 404 /404.html;
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /usr/local/nginx/html/;
|
root /usr/local/nginx/html/;
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ /index.html;
|
||||||
|
Loading…
Reference in New Issue
Block a user