Hi. I’m a newbie to rocket chat and to backend stuff in general. I’m a designer learning to code. I’ve recently turned my old desktop into a personal Linux cloud server using NextCloud, and I have a simple docker based Only Office installation too that is integrated into the system. I even set up my own wikimedia instance!. So I thought I’d try installing Rocket Chat.
I found the installation with the snap version amazingly easy! Astounding!
But… I’m not quite sure where to go from here? How do I make this localhost:3000 operation accessible from outside my local network? I’ve got a domain name and DNS and I already have set up subdomains for my wiki, and cloud stuff. But… I don’t know what the next step is. I’ve fished around a bit, searching, but I’m not quite sure where to start.
My cloud and wiki are running off an nginx server. I found an article talking about setting up a reverse proxy (I’ve heard that a good bit before but I don’t really understand it) nginx thingy? I see an article on setting up Let’s Encrypt. I’ve done that plenty of times with my cloud and wiki. Got certbot etc already installed. But where do I point the DNS to? With the wiki and the cloud thing I set that up in my nginx config files. The Only Office stuff is a docker container and it was all automatically set up using an ansible script I got from a NextCloud dev, and it’s accessed and integrated through an app integration on my NextCloud instance. But the rocket chat I’m accessing is … where? exactly? I’ve never done much with snap other than occasionally install one. (Speaking of which, where is this snap physically stored on my HDD? My rootfs is kind of low on space so I’d prefer to shuffle it over to a separate drive. Or at least get a handle on how I could do that if I so chose. )
A lot of this is new for me. I’ve never worked with Mongo either.
EDIT: OH RIGHT! I have to set up the stuff in my sites enabled folder on my nginx thing so that when I point to my public IP it knows which server to route it to.
Which is just setting up the reverse proxy, which I found the info for here: https://rocket.chat/docs/installation/manual-installation/configuring-ssl-reverse-proxy/
That info would be good to be on the auto ssl page also. LIke a link to that article.
Why is it called reverse proxy anyway? That’s what confuses me so much. That term doesn’t seem very intuitive to me, and I’m sure there’s a good reason for it, I just don’t know it.
EDITEDIT: Okay… not out of the woods yet. I pointed my DNS and subdomain to my public IP, I set up the reverse proxy for my nginx server. I restarted it. I set up caddy to handle my SSL stuff, and. restarted it, checked the status of it, looks good, and… I go to my website subdomain I set up: howdy.jackalope.tech and it does not work.
It tells me that I need to add a security cert exception and if I do, it loads a NextCloud page telling me I’m trying to access from an unauthorized domain name (which makes sense because I have nextcloud as my default proxy and I have it configured to only work with localhost or it’s specific subdomain. If you want to check for yourself, I’ve set the rocket chat subdomain as:
Anybody know what’s up with it? Ideas?