Do not redirect favicon.ico to the root
This commit is contained in:
parent
14a9e5d6be
commit
447cbefc5f
@ -8,6 +8,10 @@ server {
|
|||||||
try_files $uri $uri.html $uri/ /index.html;
|
try_files $uri $uri.html $uri/ /index.html;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location = /favicon.ico {
|
||||||
|
root /var/www/html;
|
||||||
|
}
|
||||||
|
|
||||||
# redirect server error pages to a static page
|
# redirect server error pages to a static page
|
||||||
error_page 404 /404.html;
|
error_page 404 /404.html;
|
||||||
error_page 500 502 503 504 /50x.html;
|
error_page 500 502 503 504 /50x.html;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user