G’day all - I’m trying to build a rock.chat Ubuntu instants with snap, certbot, behind nginx reverse proxy. I’m close to completion but unsure what to do with the nginx conf. Any help would be a appreciated.
I believe if peeps use self-hosted chat software it will lead to a better web for all, but making easy for all to setup is not easy.
My build so far
-
- buy a domain with noip. Setup domain and sub-domain at noip web portal.
-
Use: nmtui (on a Ubuntu instants) to make a bridged network from VM host (Pain-full), or bridged network on QNAP VM station, or bear-metal.
-
spin up Ubuntu and set a static ip Forward port’s 80 inbound 3000 outbound to the IP of rocketchat’s instants.
-
install rocketchat with: sudo snap install rocketchat-server
-
login to localhost and basic setup
-
change rocketchat’s web page from localhost to your domain, use: Auto SSL with Snaps
-
install nignx with: sudo apt install nginx and config
-
install certbot with: sudo snap install certbot
-
install noip with: sudo snap install noip-client and setup. (pain-full)
-
run certbot with: sudo certbot --nginx
I feel if this is going to be a full time instants the vm needs it own NIC, not the best config as a bridged network. I’m unsure how to setup pcie pass-though for a NIC with KVM. As well my Nginx config what it should look like.