Deploy N8n with subfolder no longer possible

Hello :slight_smile: We always used the traefik to deploy n8n intstances under different subfolders on one domain.
According to the example docker compose code in the repository (n8n/docker/compose/subfolderWithSSL at master · n8n-io/n8n · GitHub). This always worked fine, but since a few versions (i dont know exaclty since when) this is no longer possible.
The Frontend will try to get data from the root path eventough the N8N_PATH environment variable is configured.
Is it true that the only option to deploy n8n with a custom path is from now on to build your own image and set VUE_APP_URL_BASE_API in the process?
If yes, Is it planned to make it possible again to deploy with a custom path, or remove the example in github then?

Kind regards,
Tim

Information on your n8n setup

  • n8n version: 0.197.1
  • Database you’re using (default: SQLite): SQLite
  • Running n8n with the execution process [own(default), main]: own
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker

Hi @Timberno, I am sorry to hear you’re having trouble.

@netroy, could this perhaps be related to the recent changes made to our docker images?

@Timberno Thanks for reporting the issue.
It has been fixed in this PR.
It’ll be included in the next release either later today, or tomorrow.

2 Likes