Do not redirect favicon.ico to the root

This commit is contained in:
Daniel_I_Am 2022-05-26 13:44:09 +02:00
parent 14a9e5d6be
commit 447cbefc5f

View File

@ -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;