nginx will not forward requests for favicon.ico to the website program behind the reverse proxy; you need to set the root directory in the server block:
server {
    root /path/to/your/wwwroot;  # Ensure this path points to the directory containing favicon.ico
}
Finally, check the configuration and restart nginx:
nginx -t
nginx -s reload