Missing /favicon.ico on self-hosted npm install

Information on your n8n setup

  • n8n version: 1.37.3
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: Ubuntu 22.04 LTS

Hi @ONC

please provide more details and screenshots if necessary to the issue you are experiencing. Please describe what you are expecting where and how and what is actually happening instead.

Thank You!

The fundamental issue is that there’s no favicon showing, neither on bookmarks nor on tabs. Screenshot: Image 2024-04-24 at 1.01.38 pm (it’s the one in the middle)

That makes it much harder to find the n8n tab among other open tabs.

Code inspection gives me this: Image 2024-04-24 at 1.04.59 pm

And manually navigating to https://n8n.mydomain.com/favicon.ico gives me a 404 error. So for some reason our self-hosted npm install doesn’t come with favicon.ico, or the build-in webserver doesn’t serve it for some reason.

So my question is: how to remedy this situation so that the nice n8n favicon shows on our installation? Thanks.

UPDATE:
We figured out that the favicon requires its very own proxy_pass directive in the Nginx conf file:

location = /favicon.ico { proxy_pass http://localhost:5678; }

With that in place the favicon is showing up now :+1: screenshot: Image 2024-04-24 at 1.28.53 pm

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.