N8n Webhook URL not setting correctly on custom deployment

I have used n8n local deployment on my ec2 using the n8n docker image, i have setup the nginx as reverse proxy on a n8n network, I have also specified the N8N_BASE_URL as the public domain even in production it is correctly coming, but for some reason on n8n webhook url it shows localhost:5678 i have checked the nginx.conf and the docker-compose.yml as well everything seems to work as intended. Due to this reason my webhook is not getting verified on meta.
Could anyone provide a solution to this?

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hey @Sankalp_Sharma,

Welcome to the community :tada:

You need to set WEBHOOK_URL to set the production webhook URL.

Don’t forget to also set N8N_PROXY_HOPS to 1 if you are using 1 reverse proxy.

1 Like

Thanks it worked!!

1 Like

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