summaryrefslogtreecommitdiff
path: root/live
diff options
context:
space:
mode:
Diffstat (limited to 'live')
-rw-r--r--live/blog/a/website_with_nginx.html9
-rw-r--r--live/blog/rss.xml7
-rw-r--r--live/blog/sitemap.xml2
-rw-r--r--live/luevano.xyz/index.html2
4 files changed, 9 insertions, 11 deletions
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>
diff --git a/live/luevano.xyz/index.html b/live/luevano.xyz/index.html
index 2656f26..6fe8704 100644
--- a/live/luevano.xyz/index.html
+++ b/live/luevano.xyz/index.html
@@ -80,7 +80,7 @@
<p><mark>Currently recreating the site with the updated pyssg, things might be broken.</mark></p>
<p>My name is David Luévano and this is my little piece of internet. I&rsquo;m into alot of stuff, but mostly technology in general, drawing sometimes and&hellip; of course, gaming.</p>
<p>I have some sites setup here, such as a working <a href="https://blog.luevano.xyz/">blog</a> where I post every once in a while and an <a href="https://art.luevano.xyz/">art</a> gallery; I&rsquo;ve also got some other minor stuff too, such as a <a href="https://git.luevano.xyz/">git</a> server. All of these also available on the top navigation bar.</p>
-<p>I use plain HTML, CSS and a bit of raw JS for the site, nothing modern or bloated. Everything is built as a static site using my own tool <a href=""><code>pyssg</code></a> which is still a work in progress.</p>
+<p>I use plain HTML, CSS and a bit of raw JS for the site, nothing modern or bloated. Everything is built as a static site using my own tool <a href="https://github.com/luevano/pyssg"><code>pyssg</code></a> which is still a work in progress.</p>
<h3 id="rss-feeds"><i class="fas fa-rss" alt="RSS"></i> RSS feeds<a class="headerlink" href="#rss-feeds" title="Permanent link">&para;</a></h3>
<p>Get updates about me or what I&rsquo;m doing via RSS feeds.</p>
<ul>