Using a custom path for web hooks

Hi,

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 https://xxx.xxxx.xxx/webhooks/rest/webhook.

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

Exception occurred while handling uri: 'http://xxx.xxx.xxx/chatbot/webhooks/rest/webhook'

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