HTTPS for rocket chat and to work in the application on a smartphone

Description

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System: Ubuntu 20
  • Deployment Method: snap
  • NodeJS Version: v14.18.3
  • MongoDB Version: 4.2.17
  • Proxy: nginx

Any additional Information

Hello!

There was still the same problem as before (she did not dare).

Set up nginx config file to work with https (but only http works)
The configuration file looks like this:

server {
    listen       80;

    root   /usr/share/nginx/html;

    listen 443 default ssl;
    server_name 172.20.94.100;

    client_max_body_size 200M;

    error_log /var/log/nginx/rocketchat.access.log;

#    ssl on;
    ssl_certificate /etc/nginx/astuorg.crt;
    ssl_certificate_key /etc/nginx/astuorg.key;
    ssl_protocols TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
	ssl_prefer_server_ciphers on;

    location / {
        proxy_pass http://127.0.0.1:3000/;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $http_host;

        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forward-Proto http;
        proxy_set_header X-Nginx-Proxy true;

        proxy_redirect off;
    }
}

I use the organization’s own certificates (on which many sites in our domain work)

Everything is confusing with the network in the organization, so for the test I prescribe a local ip address and assign it a domain (of course, test, just to check the operation of https at least locally, then it will not be a problem to bring it to the global network with https) in the hosts file on the machine in the same local network as the server.
It looks like this:
image

But, with all these settings, nothing happens, nothing changes, what is my mistake?
maybe I don’t understand something?

On the server itself, everything is fine, https works, but this does not solve anything