How to change webhook URL endpoint

Describe the issue/error/question

I’m running n8n via reverse proxy in Docker and using a docker-compose file for the environment variables. I’d like to change the to be more custom as this will be an external-facing webhook for others to use. I tried popping in the N8N_ENDPOINT_WEBHOOK and N8N_ENDPOINT_WEBHOOK_TEST into the docker-compose file, applied updates, and rebooted the VM but the webhook endpoints still show /webhook and /webhook-test

Any thoughts on how/if this is possible? See below:

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

Nevermind. I shut down the Docker container, updated n8n to the latest version, restarted the container and all is working as expected.

1 Like

Hey @pford hope you’re doing well! Thanks for sharing the solution here, hopefully will help some other folks in future :slight_smile:

1 Like

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