Using a custom path for web hooks


I am deploying the rasa on the cloud, and I am using same domain for my app and rasa server. I found out that it is a must for the URL to be

everything for* will goes to the application server, I wanted to set* , so everything comes after /chatbot/ will go to rasa server.

Exception occurred while handling uri: ''

Is it possible to do put a custom path before webhooks path?

For this, you probably want something like nginx or apache (a webserver) to sit in front of your application, and then it can proxy to either the application server, or to the rasa server, depending on the URL.

You can also do URL rewriting in the webserver, so that Rasa just sees /webhooks/rest/webhook for requests to /chatbot/webhooks/rest/webhook