WEBHOOK_URL Test Links

Hi, I have n8n running smooth on railway when using public webhook links. I’m trying to move webhook url’s to using the internal railway links and using a proxy to forward the requests. I updated the WEBHOOK_URL variable to use the internal railway url which accurately updates the production webhook url but the Test URL link still references the public URL structure. Shouldn’t the WEBHOOK_URL variable be represented in both the Test and production urls?

Is there a second WEBHOOK_URL that needs to be set? like WEBHOOK_TESTLINK_URL?

I’m on selfhosted version 1.94.1 on railway.

Thanks for the help.


The docs have a reference for N8N_ENDPOINT_WEBHOOK_TEST. You could try setting that, but it is only supposed to alter the path part (not the base URL).

If all you have set now is WEBHOOK_URL it should affect both endpoints. There’s a chance the app running in your browser has one of them cached from the old value. Be sure to fully reload the n8n editor in the browser before changing anything else, just to be sure.