![]() Ln -s /etc/nginx/sites-available/nf /etc/nginx/sites-enabled/Īssuming no errors are reported, reload the NGINX config with -Īpt-get install software-properties-commonįollow the prompts on screen and you should be issued a valid Let's Encrypt SSL certificate. Once inside vim, you should have the following (edit "" to be your actual domain that you're going to use for this server) -Įnable the new configuration by creating a link to it from /etc/nginx/sites-available/. Install and configure NGINX to use as a reverse proxy + SSL setupĪpt install nginxsystemctl start nginxsystemctl enable nginx Install Snap if it's not already installed -Īt this point the Rocket.Chat service will have automatically started, you can check if it's running with. If you need to disable ufw you can do so with. ![]() If you add or remove rules you should reload ufw with. Setup the firewall rules that we'll want. First install UFW if it's not installed. With this you'll be able to get Rocket.Chat up and running within ~10 minutes, from there you can go on and make further server configuration changes for security and so on, as well as configure Rocket.Chat in more depth - which won't be covered within the scope of this tutorial. This is a simple tutorial to get Rocket.Chat running on a Ubuntu Xenial 16.04 server (You'll likely be perfectly fine to run through the same process on a different Ubuntu version such as 18.04 if you'd prefer) In this case we're installing this on a fresh server and we'll be installing Rocket.Chat as a Snap and using NGINX as a reverse proxy, as well as setting up an SSL certificate via Let's Encrypt. NGINX won't have websockets configured if you use this guide - which are required if you intend to use the mobile Rocket.Chat apps. Please note that Rocket.Chat Snaps now come with Caddy to deal with the reverse proxy and free SSL certificate's via Let's Encrypt - so you may wish to refer to my newer post here.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |