Question

How can I deploy my chatbot?I'm using Java and RASA.

Posted December 19, 2020 625 views
PythonJava

Hello all,

I am using java for the NLP part of my chatbot and also I use Rasa, now I need to combine them. Actually, I don’t have experience with this so I don’t know how can I do that. I want to listen to different ports for use this chatbot’s two different parts.

Huge thanks for all your help.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hi @ilkerrisvan,

I’ll recommend using Nginx as a reverse proxy and set it to proxy to different ports. I think that should be the best solution for you and that way you can host as many applications as you want on your droplet.

First, here is a tutorial on how to install Nginx on your droplet

https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-18-04

After you’ve done that tutorial I’ll recommend checking the following one :

https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-as-a-web-server-and-reverse-proxy-for-apache-on-one-ubuntu-18-04-server

This one will show you how to configure Nginx as a reverse proxy and be able to call applications listening on different ports all on port 80.

Regards,
KFSys

by Justin Ellingwood
by Kathleen Juell
Nginx is one of the most popular web servers in the world and is responsible for hosting some of the largest and highest-traffic sites on the internet. It is more resource-friendly than Apache in most cases and can be used as a web server or reverse proxy. In this guide, we'll discuss how to get Nginx installed on your Ubuntu 18.04 server.