From 3b60c16016c098412a964d41ea94d97759d48481 Mon Sep 17 00:00:00 2001
From: David Luevano Alvarado <david@luevano.xyz>
Date: Tue, 30 May 2023 00:35:23 -0600
Subject: update website entry, add temp dirs

---
 live/blog/a/website_with_nginx.html | 9 ++++-----
 live/blog/rss.xml                   | 7 +++----
 live/blog/sitemap.xml               | 2 +-
 3 files changed, 8 insertions(+), 10 deletions(-)

(limited to 'live/blog')

diff --git a/live/blog/a/website_with_nginx.html b/live/blog/a/website_with_nginx.html
index 2d18185..36a09ca 100644
--- a/live/blog/a/website_with_nginx.html
+++ b/live/blog/a/website_with_nginx.html
@@ -210,11 +210,10 @@ systemctl restart nginx
 <pre><code class="language-sh">certbot --nginx
 </code></pre>
 <p>It will ask you for some information, for you to accept some agreements and the names to activate HTTPS for. Also, you will want to &ldquo;say yes&rdquo; to the redirection from HTTP to HTTPS. And that&rsquo;s it, you can now go to your website and see that you have HTTPS active.</p>
-<p>Now, the certificate given by <code>certbot</code> expires every 3 months or something like that, so you want to renew this certificate every once in a while. Using <code>cron</code>, you can do this by running:</p>
-<pre><code class="language-sh">crontab -e
+<p>Now, the certificate given by <code>certbot</code> expires every 3 months or something like that, so you want to renew this certificate every once in a while. I did this before using <code>cron</code> or manually creating a <code>systemd</code> timer and service, but now it&rsquo;s just a matter of enabling the <code>certbot-renew.timer</code>:</p>
+<pre><code class="language-sh">systemctl start certbot-renew.timer
 </code></pre>
-<p>And a file will be opened where you need to add a new rule for Certbot, just append the line: <code>1 1 1 * * certbot renew --quiet --agree-tos --deploy-hook "systemctl reload nginx.service"</code> (renew on the first day of every month) and you&rsquo;re good. Alternatively use <code>systemd</code> timers as stated in the <a href="https://wiki.archlinux.org/title/Certbot#Automatic_renewal">Arch Linux Wiki</a>.</p>
-<p>That&rsquo;s it, you now have a website with SSL certificate.</p>
+<p>The <code>deploy-hook</code> is not needed anymore, only for plugins. For more, visit the <a href="https://wiki.archlinux.org/title/Certbot#Automatic_renewal">Arch Linux Wiki</a>.</p>
 
   <div class="page-nav">
     <span class="next">
@@ -244,7 +243,7 @@ systemctl restart nginx
   <div class="article-info">
     <p>By David Luévano</p>
     <p>Created: Fri, Mar 19, 2021 @ 02:58 UTC</p>
-      <p>Modified: Fri, May 05, 2023 @ 08:34 UTC</p>
+      <p>Modified: Sun, May 28, 2023 @ 00:05 UTC</p>
     <div class="article-tags">
   <p>Tags:
 <a href="https://blog.luevano.xyz/tag/@code.html">code</a>, <a href="https://blog.luevano.xyz/tag/@english.html">english</a>, <a href="https://blog.luevano.xyz/tag/@server.html">server</a>, <a href="https://blog.luevano.xyz/tag/@tools.html">tools</a>, <a href="https://blog.luevano.xyz/tag/@tutorial.html">tutorial</a>  </p>
diff --git a/live/blog/rss.xml b/live/blog/rss.xml
index 990cfd8..0dcff76 100644
--- a/live/blog/rss.xml
+++ b/live/blog/rss.xml
@@ -3119,11 +3119,10 @@ systemctl restart nginx
 <pre><code class="language-sh">certbot --nginx
 </code></pre>
 <p>It will ask you for some information, for you to accept some agreements and the names to activate HTTPS for. Also, you will want to &ldquo;say yes&rdquo; to the redirection from HTTP to HTTPS. And that&rsquo;s it, you can now go to your website and see that you have HTTPS active.</p>
-<p>Now, the certificate given by <code>certbot</code> expires every 3 months or something like that, so you want to renew this certificate every once in a while. Using <code>cron</code>, you can do this by running:</p>
-<pre><code class="language-sh">crontab -e
+<p>Now, the certificate given by <code>certbot</code> expires every 3 months or something like that, so you want to renew this certificate every once in a while. I did this before using <code>cron</code> or manually creating a <code>systemd</code> timer and service, but now it&rsquo;s just a matter of enabling the <code>certbot-renew.timer</code>:</p>
+<pre><code class="language-sh">systemctl start certbot-renew.timer
 </code></pre>
-<p>And a file will be opened where you need to add a new rule for Certbot, just append the line: <code>1 1 1 * * certbot renew --quiet --agree-tos --deploy-hook "systemctl reload nginx.service"</code> (renew on the first day of every month) and you&rsquo;re good. Alternatively use <code>systemd</code> timers as stated in the <a href="https://wiki.archlinux.org/title/Certbot#Automatic_renewal">Arch Linux Wiki</a>.</p>
-<p>That&rsquo;s it, you now have a website with SSL certificate.</p>]]></content:encoded>
+<p>The <code>deploy-hook</code> is not needed anymore, only for plugins. For more, visit the <a href="https://wiki.archlinux.org/title/Certbot#Automatic_renewal">Arch Linux Wiki</a>.</p>]]></content:encoded>
     </item>
     <item>
       <title>Así es raza, el blog ya tiene timestamps</title>
diff --git a/live/blog/sitemap.xml b/live/blog/sitemap.xml
index 836f5c0..8dc6877 100644
--- a/live/blog/sitemap.xml
+++ b/live/blog/sitemap.xml
@@ -161,7 +161,7 @@
     </url>
     <url>
       <loc>https://blog.luevano.xyz/a/website_with_nginx.html</loc>
-      <lastmod>2023-05-05</lastmod>
+      <lastmod>2023-05-28</lastmod>
       <changefreq>weekly</changefreq>
       <priority>1.0</priority>
     </url>
-- 
cgit v1.2.3-70-g09d2