配置文件
location ~ ^/favicon\.ico$ {
root www;
}
忽略
location = /favicon.ico {
log_not_found off;
access_log off;
}
location ~ ^/favicon\.ico$ {
root www;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}