How can I use nginx conf. for my chatbot

I want to take the chatbot in live environment. My company wouldn’t let me use ngrok. So I set up virtual machine and also requested webserver for nginx. But I don’t know how to configure it. I have a few questions about this topic. Note: I don’t want to use Docker.

Note2: Nginx is already installed on a different server. I have 2 Windows Servers right now, one for web service (nginx) and the other for rasa.

  1. How do I run rasa on nginx hosted url instead of running it on my local? Should I make changes on the backend? Where should I make a change?
  2. During the integration with channel, is it enough to write nginx’s server ip number for the host, 5005 in the port in https:// host : port /webhooks/ channel_name /webhook? Do you need to do anything extra?

I’m new to these things, I would be very happy if you could help me step by step. :slight_smile: Thank you so much.

The docker-compose setup use nginx and you’ll find an example nginx.conf there

@uuu789 said that he/she don’t want to use Docker and also your link is for RasaX and here it is about Rasa open source

  1. What you mean local. What is your command to start rasa?
  2. You mean to Rasa endpoints or where?
  3. What is your chatbot’s front end i.e. chatbot window

The docker-compose setup for Rasa X includes an nginx.conf. You don’t have to use Rasa X or any of the setup for that matter. You can download the example config below (remove the portions you don’t need).

wget https://storage.googleapis.com/rasa-x-releases/0.42.5/nginx-config-files/rasax.nginx.template