Problems with reverse proxy

Hello community:
I have installed Rocket.Chat in a Debian 10 container on Proxmox and access it well through http: // my_domain: 300.
When I configured reverse proxy in nginx and tried to access via https: // my_domain it doesn’t work. The tuto that is found in

I have the same problem. Installed everything one week ago but on Ubuntu 20.04 LTS.
Any advice?

Hey, I just solved the problem.

Those who were configuring the Rocket-Chat-Server with an Nginx-Reverse-Proxy by following the official installation manual should edit the Nginx-Config: /etc/nginx/sites-enabled/default

Then edit the line where it says
proxy_pass http://backend/
and change it to
proxy_pass http://backend

This solved my problem. I hope I could help anyone.

1 Like

Excellent, problem solved, thanks. :+1: :+1: :+1:

In apache2 it gives the same error.
How would it be?


On CentOS 7.8 running Apache 2.4.6 I added the following for the Rocket.Chat Virtualhost on port 443 in httpd.conf:
RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /(.) ws://localhost:3000/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /(.
) http://localhost:3000/$1 [P,L]
ProxyPassReverse / http://localhost:3000/

Best regards,

The individuals who were arranging the Rocket-Chat-Server with a Nginx-Reverse-Proxy by following the official establishment manual ought to alter the Nginx-Config:/and so forth/nginx/locales empowered/default