I prefer the `shortcut icon` tag. Using `/static/favicon.ico` URL, you don't need special rules to serve static files from nginx for example.