Wrong URL in invites

Quick questions from a newbie:

Just brought N8N up on Ubuntu with the “classic” Caddy, Docker, Postgres setup on https://n8n.ourdomian.de (no, this is not acessible from the internet)
But when I generate invite links, they all point to http://n8n.ourdomain.de:5678 - is there an environemntal variable I need to set to correct that URL ? I have set N8N_HOST=n8n.ourdomain.de
WEBHOOK_TUNNEL_URL=https://n8n.ourdomainde

Thx
MG

Information on your n8n setup

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

hi there, you need to change also this env variables
WEBHOOK_URL

and also, sometimes even if you change it, it sometimes still show somthn different, like ur old domain before the change(usually it took some time for it to change the display) but usually it’s just a display issue, you can try changing it manually and see if it works

That solved it immediately ! Thanks a lot