-
Notifications
You must be signed in to change notification settings - Fork 28.9k
N8N_EDITOR_BASE_URL sets url for test webhooks #9030
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @lawfulsoftware, Looking at this I would say it is working as expected,
By setting these n8n doesn't block any routing it is expected that a reverse proxy or load balancer would be handling that so on your reverse proxy you would to only allow For now as this appears to be working as expected I am going to mark this as closed but let me know if you have any other questions on this one. |
Thank you @Joffcom . I understand your explanation that test webhooks need to hit the editor and, while this makes sense, it is not expected given the current documentation. The description for The description for Your explanation as to why A simpler approach from the user's perspective would be to use |
Uh oh!
There was an error while loading. Please reload this page.
Bug Description
WEBHOOK_URL
sets the base URL for production webhooksN8N_EDITOR_BASE_URL
sets the base URL for test webhooks as well as the base URL for the REST APIN8N_HOST
sets the URL of the UIThis has existed for a long time.
To Reproduce
My Configuration
Set
N8N_HOST
=n8n.domain.comSet
N8N_EDITOR_BASE_URL
=https://webhook.domain.comSet
WEBHOOK_URL
=https://webhook.domain.comProduction webhooks use: https://webhook.domain.com/webhook
Test webhooks use: https://webhook.domain.com/webhook-test
REST API uses: https://webhook.domain.com/rest
UI can be accessed from both
https://webhook.domain.com
andhttps://n8n.domain.com
Expected Proper Configuration
Set
N8N_HOST
=n8n.domain.comSet
N8N_EDITOR_BASE_URL
=https://n8n.domain.comSet
WEBHOOK_URL
=https://webhook.domain.comProduction webhooks use: https://webhook.domain.com/webhook
Test webhooks use: https://n8n.domain.com/webhook-test
REST API uses: https://n8n.domain.com/rest
UI can be accessed from both
https://webhook.domain.com
andhttps://n8n.domain.com
Expected behavior
WEBHOOK_URL
should set the base URL for all webhooks.UI should only be accessible from
N8N_EDITOR_BASE_URL
Operating System
n8nio/n8n:1.35.0
n8n Version
n8nio/n8n:1.35.0
Node.js Version
n8nio/n8n:1.35.0
Database
PostgreSQL
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: