![]() ![]() ![]()
sudo cp /path/to/your/cert /etc/nginx/certificate.crt.sudo chmod 400 /etc/nginx/certificate.keyĬopy the certificate itself to /etc/nginx/certificate.crt.Modify the key’s permissions so unauthorized thieves can’t gain access. sudo cp /path/to/your/key /etc/nginx/certificate.keyįor example, if you created a Let’s Encrypt certificate, you would use sudo cp /etc/letsencrypt/live/ your_domain_name/privkey.pem /etc/nginx/certificate.key.Move your certificate’s private key to /etc/nginx/certificate.key. Step 3 - Setting up a Reverse Proxy with Nginx Now that Rocket.Chat is installed, we need to set up Nginx to proxy all of its traffic using a reverse proxy, making accessing Rocket.Chat easier and encrypting all of your communications with your SSL certificate. ![]() If there aren’t any errors, it works! For now, though, stop Rocket.Chat using CTRL+C. Now you can run Rocket.Chat using the following command:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |