Nginx SSL Configuration

Lets say we have a nginx virtual host like following

To make it SSL enabled, add following to the server entry.



This can also take ca-bundle. In that cause, you don’t need to use ssl_client_certificate directive to specify ca-bunlde location.

Create a new yourdomain.crt file with content from following 2 files in the order.


Create the file as follows

Redirect Traffic to SSL