Can't get Rasa X to work on HTTPS

  • Rasa X version: 0.22.2 (CE)
  • Server: Ubuntu 16.04

I’m deploying Rasa X to server. I followed the docs.

  1. I did the Quick Installation At this point http works.

  2. Then i used Certbot. Securing with SSL

  • cd /etc/rasa
  • sudo docker-compose down
  • sudo certbot certonly
  • sudo cp /etc/letsencrypt/live/mysite.example.com/privkey.pem /etc/rasa/certs/
  • sudo cp /etc/letsencrypt/live/mysite.example.com/fullchain.pem /etc/rasa/certs/
  • sudo docker-compose up -d

Now http doesn’t work, it’s not trying to redirect to https and https does not work.

  • I’m using Azure and ports are open(22, 80, 443).
  • I have not made any changes to docker-compose.yml

Did i do something wrong when installing or should i edit some files? :thinking:

I followed the quick installation doc so i didn’t see these two commands that can be found in manual installation. It works now. :smile: :+1:

sudo chgrp -R root /etc/rasa/* && sudo chmod -R 770 /etc/rasa/*
sudo chown -R 1001 /etc/rasa/db && sudo chmod -R 750 /etc/rasa/db