summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-08-13 14:59:32 +0300
committerPaul Buetow <paul@buetow.org>2023-08-13 14:59:32 +0300
commit56d6db646e956fc1ec3109db38e74dfcd711a7b2 (patch)
tree68767ad0204d719dfa460c28e6d50652094fc158 /frontends
parent28ff43709bd5aff584024db114ad5e0deae40e88 (diff)
add tmp.foo.zone as an alias for tmp.buetow.org
Diffstat (limited to 'frontends')
-rw-r--r--frontends/Rexfile2
-rw-r--r--frontends/etc/httpd.conf.tpl10
-rw-r--r--frontends/var/nsd/zones/master/foo.zone.zone.tpl1
3 files changed, 12 insertions, 1 deletions
diff --git a/frontends/Rexfile b/frontends/Rexfile
index 8919a8c..3f38ed5 100644
--- a/frontends/Rexfile
+++ b/frontends/Rexfile
@@ -60,7 +60,7 @@ our $secrets = sub { read_file './secrets/' . shift };
our @dns_zones = qw/buetow.org dtail.dev foo.zone irregular.ninja snonux.land snonux.foo paul.cyou/;
our @dns_zones_remove = qw//;
-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 snonux.foo/;
+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 tmp.foo.zone irregular.ninja snonux.land paul.cyou snonux.foo/;
# UTILITY TASKS
diff --git a/frontends/etc/httpd.conf.tpl b/frontends/etc/httpd.conf.tpl
index f9a0e20..ee045a7 100644
--- a/frontends/etc/httpd.conf.tpl
+++ b/frontends/etc/httpd.conf.tpl
@@ -109,6 +109,16 @@ server "<%= $prefix %>tmp.buetow.org" {
directory auto index
}
+server "<%= $prefix %>tmp.foo.zone" {
+ listen on * tls port 443
+ tls {
+ certificate "/etc/ssl/<%= $prefix %>tmp.foo.zone.fullchain.pem"
+ key "/etc/ssl/private/<%= $prefix %>tmp.foo.zone.key"
+ }
+ root "/htdocs/buetow.org/tmp"
+ directory auto index
+}
+
server "<%= $prefix %>footos.buetow.org" {
listen on * tls port 443
tls {
diff --git a/frontends/var/nsd/zones/master/foo.zone.zone.tpl b/frontends/var/nsd/zones/master/foo.zone.zone.tpl
index de1461f..998ac2f 100644
--- a/frontends/var/nsd/zones/master/foo.zone.zone.tpl
+++ b/frontends/var/nsd/zones/master/foo.zone.zone.tpl
@@ -16,4 +16,5 @@ $TTL 4h
1800 IN AAAA 2a01:4f8:c17:20f1::42
* 1800 IN CNAME blowfish.buetow.org.
www 1800 IN CNAME fishfinger.buetow.org.
+www.tmp 1800 IN CNAME fishfinger.buetow.org.
codeberg 1800 IN CNAME snonux.codeberg.page.