How to run rasa app with a different context path

Hi, We have deployed rasa in a docker and currently it is running with the below URL: http://localhost:8080 But we want to run rasa app with some context path like below: http://localhost/rasa:8080

Could anyone please help me how can we achieve this? I have referred to lot of articles but couldn’t be able to get how to do that

@sunil13 - you need to attach a proxy server like nginx or trafeik and add the routes of the rasa server with a proxy pass.

look up the docs on nginx/trafeik. there are several examples.

If you want to achieve this in localhost only, i would say update the /etc/hosts file however i highly recommend not to do that and instead install a proxy server to expose your APIs

Hello Team,

Please help.