This content originally appeared on DEV Community and was authored by DEV Community
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
andUbuntu 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 aapt-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.
This content originally appeared on DEV Community and was authored by DEV Community
DEV Community | Sciencx (2022-02-25T18:21:58+00:00) Install SSL on Ubuntu NGINX server. Retrieved from https://www.scien.cx/2022/02/25/install-ssl-on-ubuntu-nginx-server/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.