DEV Community

paulmojicatech
paulmojicatech

Posted on

1 1

Install SSL on Ubuntu NGINX server

Description

We are going to walk through how to set up website using nginx that is served via https. We will be using Certbot to accomplish this.

Steps

  • Go to Certbot webpage
  • On the webpage, select Nginx and Ubuntu 18 in the drop downs
  • Follow the steps on the webpage. (Note:Ubuntu 18 comes with the snap program already installed so no need to do a apt-get.
  • Certbot will automatically find the nginx sites for you to serve behind https. Just pick websites you want the SSL certificate to be applied to.

Conclusion

With Let's Encrypt and tools like Certbot, serving content over a secure channel has never been easier.

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more