Bad gateway after installing on DigitalOcean

Hi,

I’ve followed the instructions to install Rocket.Chat on a droplet of DigitalOcean: https://marketplace.digitalocean.com/apps/rocket-chat

It worked fine while I was trying to connect directly via the IP.

Then I’ve set up a subdomain and generated an SSL certificate with the command:

rocketchatctl configure --lets-encrypt --root-url=https://chat.yourcompany.com --letsencrypt-email=admin@yourcompany.com

But now it doesn’t work anymore, and the page only displays “Bad Gateway”.

I think I’ve done things correctly with the subdomain: an A record and NTS records sending to DigitalOcean.

I have no idea what could be wrong, I’m new to Rocket.Chat and DigitalOcean.

Any help is welcome, thanks!

1 Like