Install SSL+Nginx

When you have completed the first part of installing Nginx, you need to proceed to the second part, which is to install an SSL certificate.

This link has all the details to do so:

Secure NGINX with Let's Encrypt

Before you proceed to do so, you need to update your DNS records with the A record and the correct IP address, or it will not work.

In cloudflare, this is what it will look like:

In godaddy, this is what it will look like:

When you have updated the A records, you can go here to check that it is updated.

When all the settings are correct, proceed to generate the certificate. this is what you will see:

Generate SSL certificate with Lets Encrypt

You can go to the browser to verify that your SSL cert has been set up correctly.

You will notice that the domain name link shows the cert is valid and if you use the IP address, it will say the certificate does not match the IP address. this is ok as the certificate is generated for the domain name and not the IP address.

if you have any problems getting to this stage, check your firewall settings in the instance. it should be switched on.

Last updated