summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-05-27 23:56:31 +0300
committerPaul Buetow <paul@buetow.org>2023-05-27 23:56:31 +0300
commit3d755a06fb84144d58010522392d977ae0c2ae8f (patch)
tree2e1444dd3b31da9c6795206d9d047eb72322b893
parent99a05f790f02d16f71f98c71421365eedfc5b153 (diff)
add fotos as a footos replacement
-rw-r--r--frontends/Rexfile2
-rw-r--r--frontends/etc/httpd.conf.tpl10
-rw-r--r--frontends/var/nsd/zones/master/buetow.org.zone.tpl2
3 files changed, 13 insertions, 1 deletions
diff --git a/frontends/Rexfile b/frontends/Rexfile
index 9faa7e4..fadac13 100644
--- a/frontends/Rexfile
+++ b/frontends/Rexfile
@@ -80,7 +80,7 @@ our $secrets = sub { read_file './secrets/' . shift };
our @dns_zones = qw/buetow.org dtail.dev foo.zone irregular.ninja snonux.land paul.cyou/;
our @dns_zones_remove = qw//;
-our @acme_hosts = qw/buetow.org paul.buetow.org tmp.buetow.org dory.buetow.org footos.buetow.org znc.buetow.org dtail.dev foo.zone irregular.ninja snonux.land paul.cyou/;
+our @acme_hosts = qw/buetow.org paul.buetow.org tmp.buetow.org dory.buetow.org fotos.buetow.org footos.buetow.org znc.buetow.org dtail.dev foo.zone irregular.ninja snonux.land paul.cyou/;
# UTILITY TASKS
diff --git a/frontends/etc/httpd.conf.tpl b/frontends/etc/httpd.conf.tpl
index 8d8e292..6902ed4 100644
--- a/frontends/etc/httpd.conf.tpl
+++ b/frontends/etc/httpd.conf.tpl
@@ -116,6 +116,16 @@ server "<%= $prefix %>footos.buetow.org" {
directory auto index
}
+server "<%= $prefix %>fotos.buetow.org" {
+ listen on * tls port 443
+ tls {
+ certificate "/etc/ssl/<%= $prefix %>fotos.buetow.org.fullchain.pem"
+ key "/etc/ssl/private/<%= $prefix %>fotos.buetow.org.key"
+ }
+ root "/htdocs/buetow.org/fotos"
+ directory auto index
+}
+
# Legacy hosts
server "snonux.de" {
alias "www.snonux.de"
diff --git a/frontends/var/nsd/zones/master/buetow.org.zone.tpl b/frontends/var/nsd/zones/master/buetow.org.zone.tpl
index 1e5711a..bb87ded 100644
--- a/frontends/var/nsd/zones/master/buetow.org.zone.tpl
+++ b/frontends/var/nsd/zones/master/buetow.org.zone.tpl
@@ -25,6 +25,7 @@ git1 1800 IN CNAME blowfish
tmp 1800 IN CNAME blowfish
dory 1800 IN CNAME blowfish
footos 1800 IN CNAME blowfish
+fotos 1800 IN CNAME blowfish
paul 1800 IN A 23.88.35.144
paul 1800 IN AAAA 2a01:4f8:c17:20f1::42
paul IN TXT protonmail-verification=a42447901e320064d13e536db4d73ce600d715b7
@@ -47,6 +48,7 @@ www.znc 1800 IN CNAME fishfinger
bnc 1800 IN CNAME www.znc
www.dory 1800 IN CNAME fishfinger
www.footos 1800 IN CNAME fishfinger
+www.fotos 1800 IN CNAME fishfinger
www.paul 1800 IN CNAME fishfinger
vulcan 86400 IN A 95.216.174.192