From b171347f739b2ada7960ad50bcba47e898d890d2 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Fri, 4 Jun 2021 23:50:58 -0600 Subject: reflect changes on updated pyssg using jinja templates --- blog/dst/a/website_with_nginx.html | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) (limited to 'blog/dst/a/website_with_nginx.html') diff --git a/blog/dst/a/website_with_nginx.html b/blog/dst/a/website_with_nginx.html index ae8c4b3..13d9ec6 100644 --- a/blog/dst/a/website_with_nginx.html +++ b/blog/dst/a/website_with_nginx.html @@ -1,10 +1,10 @@ - + - Create a website with Nginx and Certbot -- Luévano's Blog + Create a website with Nginx and Certbot -- Luévano's Blog @@ -64,8 +64,9 @@
-

Create a website with Nginx and Certbot

-

These are general notes on how to setup a Nginx web server plus Certbot for SSL certificates, initially learned from Luke’s video and after some use and research I added more stuff to the mix. And, actually at the time of writing this entry, I’m configuring the web server again on a new VPS instance, so this is going to be fresh.

+

Create a website with Nginx and Certbot

+ +

These are general notes on how to setup a Nginx web server plus Certbot for SSL certificates, initially learned from Luke’s video and after some use and research I added more stuff to the mix. And, actually at the time of writing this entry, I’m configuring the web server again on a new VPS instance, so this is going to be fresh.

As a side note, (((i use arch btw))) so everything here es aimed at an Arch Linux distro, and I’m doing everything on a VPS. Also note that most if not all commands here are executed with root privileges.

Prerequisites

You will need two things:

@@ -177,17 +178,21 @@ systemctl restart nginx

And a file will be opened where you need to add a new rule for certbot, just append the line: 1 1 1 * * certbot renew (renew on the first day of every month) and you’re good. Alternatively use systemd timers as stated in the Arch Linux Wiki.

For more: Arch Linux Wiki: Certbot.

That’s it, you now have a website with SSL certificate.

-
- + +
+
- + \ No newline at end of file -- cgit v1.2.3-70-g09d2