From c1c122d4bd329ecbb5330f06507dc4d42b5221fc Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 13 Apr 2024 00:15:08 +0300 Subject: Update content for html --- ...-04-01-KISS-high-availability-with-OpenBSD.html | 12 ++++----- gemfeed/atom.xml | 14 +++++------ heading.ttf | Bin 0 -> 58448 bytes index.html | 2 +- style.css | 27 ++++++++------------- text.ttf | Bin 367144 -> 75152 bytes uptime-stats.html | 2 +- 7 files changed, 25 insertions(+), 32 deletions(-) create mode 100644 heading.ttf diff --git a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html index 0aeb6a35..1d966e04 100644 --- a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html +++ b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html @@ -219,8 +219,8 @@ echo "Failover of zone $zone to $MASTER completed"
I am renting two small OpenBSD VMs: One at OpenBSD Amsterdam and the other at Hetzner Cloud. So, both VMs are hosted at another provider, in different IP subnets, and in different countries (the Netherlands and Germany).

-https://openbsd.amsterdam
-https://www.hetzner.cloud
+https://OpenBSD.Amsterdam
+https://www.Hetzner.cloud

I only have a little traffic on my sites. I could always upload the static content to AWS S3 if I suddenly had to. But this will never be required.

@@ -236,8 +236,8 @@ echo "Failover of zone $zone to $MASTER completed"
With the DNS failover, HTTP, HTTPS, and Gemini protocols are failovered. This works because all domain virtual hosts are configured on either VM's httpd (OpenBSD's HTTP server) and relayd (it's also part of OpenBSD and I use it to TLS offload the Gemini protocol). So, both VMs accept requests for all the hosts. It's just a matter of the DNS entries, which VM receives the requests.

-https://man.openbsd.org/httpd.8
-https://man.openbsd.org/relayd.8
+https://man.OpenBSD.org/httpd.8
+https://man.OpenBSD.org/relayd.8

For example, the master is responsible for the https://www.foo.zone and https://foo.zone hosts, whereas the standby can be reached via https://standby.foo.zone (port 80 for plain HTTP works as well). The same principle is followed with all the other hosts, e.g. irregular.ninja, paul.buetow.org and so on. The same applies to my Gemini capsules for gemini://foo.zone, gemini://standby.foo.zone, gemini://paul.buetow.org and gemini://standby.paul.buetow.org.

@@ -277,7 +277,7 @@ http://www.gnu.org/software/src-highlite --> Let's encrypt certificates usually expire after 3 months, so a weekly failover of my VMs is plenty.

acme.sh.tpl - Rex template for the acme.sh script of mine.
-https://man.openbsd.org/acme-client.1
+https://man.OpenBSD.org/acme-client.1
Let's Encrypt with OpenBSD and Rex

Monitoring


@@ -302,7 +302,7 @@ http://www.gnu.org/software/src-highlite -->
Other high-available services running on my OpenBSD VMs are my MTAs for mail forwarding (OpenSMTPD - also part of the OpenBSD base system) and the authoritative DNS servers (nsd) for all my domains. No particular HA setup is required, though, as the protocols (SMTP and DNS) already take care of the failover to the next available host!

-https://www.opensmtpd.org/
+https://www.OpenSMTPD.org/

As a password manager, I use geheim, a command-line tool I wrote in Ruby with encrypted files in a git repository (I even have it installed in Termux on my Phone). For HA reasons, I simply updated the client code so that it always synchronises the database with both servers when I run the sync command there.

diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index cb4e7ee3..a498bc70 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2024-04-03T00:06:22+03:00 + 2024-04-12T23:43:12+03:00 foo.zone feed To be in the .zone! @@ -229,8 +229,8 @@ echo "Failover of zone $zone to $MASTER completed"
I am renting two small OpenBSD VMs: One at OpenBSD Amsterdam and the other at Hetzner Cloud. So, both VMs are hosted at another provider, in different IP subnets, and in different countries (the Netherlands and Germany).

-https://openbsd.amsterdam
-https://www.hetzner.cloud
+https://OpenBSD.Amsterdam
+https://www.Hetzner.cloud

I only have a little traffic on my sites. I could always upload the static content to AWS S3 if I suddenly had to. But this will never be required.

@@ -246,8 +246,8 @@ echo "Failover of zone $zone to $MASTER completed"
With the DNS failover, HTTP, HTTPS, and Gemini protocols are failovered. This works because all domain virtual hosts are configured on either VM's httpd (OpenBSD's HTTP server) and relayd (it's also part of OpenBSD and I use it to TLS offload the Gemini protocol). So, both VMs accept requests for all the hosts. It's just a matter of the DNS entries, which VM receives the requests.

-https://man.openbsd.org/httpd.8
-https://man.openbsd.org/relayd.8
+https://man.OpenBSD.org/httpd.8
+https://man.OpenBSD.org/relayd.8

For example, the master is responsible for the https://www.foo.zone and https://foo.zone hosts, whereas the standby can be reached via https://standby.foo.zone (port 80 for plain HTTP works as well). The same principle is followed with all the other hosts, e.g. irregular.ninja, paul.buetow.org and so on. The same applies to my Gemini capsules for https://foo.zone, https://standby.foo.zone, https://paul.buetow.org and https://standby.paul.buetow.org.

@@ -287,7 +287,7 @@ http://www.gnu.org/software/src-highlite --> Let's encrypt certificates usually expire after 3 months, so a weekly failover of my VMs is plenty.

acme.sh.tpl - Rex template for the acme.sh script of mine.
-https://man.openbsd.org/acme-client.1
+https://man.OpenBSD.org/acme-client.1
Let's Encrypt with OpenBSD and Rex

Monitoring


@@ -312,7 +312,7 @@ http://www.gnu.org/software/src-highlite -->
Other high-available services running on my OpenBSD VMs are my MTAs for mail forwarding (OpenSMTPD - also part of the OpenBSD base system) and the authoritative DNS servers (nsd) for all my domains. No particular HA setup is required, though, as the protocols (SMTP and DNS) already take care of the failover to the next available host!

-https://www.opensmtpd.org/
+https://www.OpenSMTPD.org/

As a password manager, I use geheim, a command-line tool I wrote in Ruby with encrypted files in a git repository (I even have it installed in Termux on my Phone). For HA reasons, I simply updated the client code so that it always synchronises the database with both servers when I run the sync command there.

diff --git a/heading.ttf b/heading.ttf new file mode 100644 index 00000000..a2917114 Binary files /dev/null and b/heading.ttf differ diff --git a/index.html b/index.html index 681400a5..5da98573 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@

foo.zone



-This site was generated at 2024-04-03T23:50:16+03:00 by Gemtexter
+This site was generated at 2024-04-13T00:14:52+03:00 by Gemtexter

    |\---/|
diff --git a/style.css b/style.css
index a81995e0..1cbc50d1 100644
--- a/style.css
+++ b/style.css
@@ -3,6 +3,11 @@
     src: url("./text.ttf") format("truetype");
 }
 
+@font-face {
+    font-family: 'heading';
+    src: url("./heading.ttf") format("truetype");
+}
+
 @font-face {
     font-family: 'code';
     src: url("./code.ttf") format("truetype");
@@ -19,19 +24,14 @@
 }
 
 body {
-  font-family: text, monospace;
+  font-family: text, sans-serif;
   max-width: 1024px;
-  padding: 20px 20px;
+  padding: 10px 10px;
   margin: 20px auto;
-  border-image: linear-gradient(#f6b73c, #4d9f0c) 30;
-  border-width: 1px;
-  border-style: solid;
 }
 
 h1, h2, h3 {
-   background: -webkit-linear-gradient(#f6b73c, #4d9f0c);
-  -webkit-background-clip: text;
-  -webkit-text-fill-color: transparent;
+  font-family: heading, serif;
 }
 
 a {
@@ -88,21 +88,14 @@ img {
 
 pre {
   font-family: code, monospace;
-  padding: 0;
   overflow-x: auto;
-  scrollbar-width: none;
-  margin-left: 23px; 
-  margin-right: 23px; 
-  padding: 23px; 
-  border-image: linear-gradient(#f6b73c, #4d9f0c) 30;
-  border-width: 3px;
-  border-style: solid;
+  padding-left: 23px; 
   color: grey;
+  border-left: dashed grey;
 }
 
 span.inlinecode {
   font-family: code, monospace;
-  border: 1px solid #000000;
   padding: 1px;
   color: grey;
 }
diff --git a/text.ttf b/text.ttf
index 7c8e65b8..bb2e8875 100644
Binary files a/text.ttf and b/text.ttf differ
diff --git a/uptime-stats.html b/uptime-stats.html
index a59cae1e..855a6636 100644
--- a/uptime-stats.html
+++ b/uptime-stats.html
@@ -10,7 +10,7 @@
 
 

My machine uptime stats



-This site was last updated at 2024-04-03T23:50:16+03:00
+This site was last updated at 2024-04-13T00:14:52+03:00

The following stats were collected via uptimed on all of my personal computers over many years and the output was generated by guprecords, the global uptime records stats analyser of mine.

-- cgit v1.2.3