rasa-webchat
rasa-webchat copied to clipboard
socket communication not working on server domain name
we have rasa server running on ubuntu which has private IP,public IP and domain name. when i connect the socket via private IP it is working but over VPN , but when i connect it via domain name then it is not working.it says waiting for server.
can anyone guide me to how can i connect chatbot UI with domain name to my rasa server.
in case you are using NGINX, you can use the following configuration:
server {
listen 80;
listen [::]:80;
server_name yourdomain.com;
location / {
proxy_pass http://localhost:5005/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.