Description
note that I intentionally broke the formatting on the URLs below because the forum software was interpreting them as actual URLs, and new accounts aren’t allowed to post more than 2 URLs in a post. Note that, on my actual server, the URLs are correctly formatted.
We have a rocketchat instance running on a Ubuntu VPS, with nginx serving as reverse proxy (and also handling SSL.) Periodically (maybe once every 2-3 days) everyone connecting to the server gets the warning message “The setting Site URL is configured to http//localhost:3000 and you are accessing from https//our-actual-server-domain.com/. Do you want to change to https//our-actual-server-domain.com/?” The funny thing is that, when I check in the Admin panel -> General -> Site URL
our URL IS correctly entered there. (also, “Force SSL” is DISABLED since it clearly states that it shouldn’t be used with reverse proxy.) Everything else about the server is working properly, and people are able to connect once they click past the warning message. I’ve looked through settings for any other setting that looks relevant, but nothing else jumps out at me. Any ideas?
Server Setup Information
- Version of Rocket.Chat Server: 4.3.2 - 1510
- Operating System: Ubuntu 20.04.3 Server
- Deployment Method: snap
- Number of Running Instances: 1
- DB Replicaset Oplog:
- NodeJS Version: v12.22.8
- MongoDB Version: 4.2.17
- Proxy: nginx 1.18.0-0ubuntu1.2
- Firewalls involved: no