Describe the problem/error/question
Hello. How can I completely remove the word “webhook” from the URL path so that for example only http://localhost/ + only what I defined in the Webhook to path node remains? That is, if we defined in the Webhook node in the Test path, then only http://localhost/Test should appear. I ask if this possibility exists only with the tools offered by n8n without using a proxy.
Thanks.
Information on your n8n setup
n8n version: 1.29.1
Database (default: SQLite):
n8n EXECUTIONS_PROCESS setting (default: own, main):
Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
Operating system: CentOS 7.9
barn4k
February 28, 2024, 9:34pm
2
hello @apstudio
Check the ENV variables that may help you in that question:
N8N_ENDPOINT_WEBHOOK
N8N_ENDPOINT_WEBHOOK_TEST
N8N_ENDPOINT_WEBHOOK_WAIT
1 Like
Mikhail Savenkov:
N8N_ENDPOINT_WEBHOOK
Thanks for the suggestion. I have already tried with these variables in different ways, but the result is that it gives me another “/”.
Scenario 1:
Path in Webhook node is : Test (no slash)
Result: https://localhost:5678//Test
Scenario 2:
Path in Webhook node is : Test (no slash)
Result: https://localhost:5678///Test
barn4k
February 29, 2024, 9:16am
4
Ah, I suppose you can’t use the /webhook as the root path. But what is the issue with using default paths for the webhook endpoint?
I have an application that has hardcoded the URL and I cannot change it. I can only change the IP for the service.
system
Closed
May 29, 2024, 10:12am
6
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.