How to safe add http_ssl_module to already working nginx?

December 14, 2016 150 views
Nginx Configuration Management Ubuntu

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?

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.

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.
  • I have custom install of Nginx with ngxpagespeed. httpssl_module not available in this compilation. How to recompile nginx with minimum site downtime?

Have another answer? Share your knowledge.