Question

How to safe add http_ssl_module to already working nginx?

Posted December 14, 2016 2k views
Nginx Ubuntu Configuration Management

I have already running nginx server (Ubuntu LEMP on 14.04) but I need add SSL module to them. How to safely add new module without losing all config, db and long stop site running?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

I believe that the ssl module is installed by default and should already be available to you. It is included in the Ubuntu packages used to build the one-click and enabling SSL for your site should just be a matter of adding a certificate and the appropriate configuration.

If you want to get set up with a free SSL certificate for your droplet, this guide will walk you through setting up a LetsEncrypt certificate.

by Mitchell Anicas
In this tutorial, we will show you how to use Let's Encrypt to obtain a free SSL certificate and use it with Nginx on Ubuntu 16.04. We will also show you how to automatically renew your SSL certificate. If you're running a different web server, simply follow your web server's documentation to learn how to use the certificate with your setup.
Submit an Answer