Rocket.Chat App Logins not working

I have not been able to get to login through the app. I am using a snap and have done the whole snap refresh thing. Here if my Apache configuration file code:

<IfModule mod_ssl.c>
<VirtualHost *:443>
ErrorLog /var/log/chat_error.log
TransferLog /var/log/chat_access.log
LogLevel info
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/
SSLCertificateKeyFile /etc/letsencrypt/live/
SSLCertificateChainFile /etc/letsencrypt/live/
Include /etc/letsencrypt/options-ssl-apache.conf
<Location />
        Order allow,deny
        Allow from all

RewriteEngine On
RewriteCond %{HTTP:Upgrade} =websocket [NC]
RewriteRule /var/www/(.*)           ws://localhost:3000/$1 [P,L]
RewriteCond %{HTTP:Upgrade} !=websocket [NC]
RewriteRule /var/www/(.*)           http://localhost:3000/$1 [P,L]

I did use a snap to install this so I was not completely sure on where the RewriteEngine needed to be directed to. Whenever I try to login through the app, it seems like it’s going to login but then it goes away and doesn’t login. I have not been able to try to use the Android app, but the iOS one is the one that has not been working for me. The desktop client and online version do work, though.

Update: I finalllyyy got it working. I accidentally had another Apache configuration file