summaryrefslogtreecommitdiff
path: root/frontends/etc
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/etc')
-rw-r--r--frontends/etc/httpd.conf.tpl12
-rw-r--r--frontends/etc/mail/virtualdomains1
-rw-r--r--frontends/etc/relayd.conf.tpl2
3 files changed, 9 insertions, 6 deletions
diff --git a/frontends/etc/httpd.conf.tpl b/frontends/etc/httpd.conf.tpl
index 844c480..8d8e292 100644
--- a/frontends/etc/httpd.conf.tpl
+++ b/frontends/etc/httpd.conf.tpl
@@ -44,19 +44,21 @@ server "<%= $prefix.$host %>" {
}
<% } %>
-# buetow.org special host
-server "<%= $prefix %>buetow.org" {
+# Redirect to paul.buetow.org
+<% for my $host (qw/buetow.org paul.cyou/) { %>
+server "<%= $prefix.$host %>" {
listen on * tls port 443
tls {
- certificate "/etc/ssl/<%= $prefix %>buetow.org.fullchain.pem"
- key "/etc/ssl/private/<%= $prefix %>buetow.org.key"
+ certificate "/etc/ssl/<%= $prefix.$host %>.fullchain.pem"
+ key "/etc/ssl/private/<%= $prefix.$host %>.key"
}
location * {
block return 302 "https://<%= $prefix %>paul.buetow.org"
}
}
+<% } %>
-# DTail special host
+# Redirec to to gitub.dtail.dev
server "<%= $prefix %>dtail.dev" {
listen on * tls port 443
tls {
diff --git a/frontends/etc/mail/virtualdomains b/frontends/etc/mail/virtualdomains
index 11b9b7d..f292782 100644
--- a/frontends/etc/mail/virtualdomains
+++ b/frontends/etc/mail/virtualdomains
@@ -10,3 +10,4 @@ dev.buetow.org
oss.buetow.org
snonux.land
dtail.dev
+paul.cyou
diff --git a/frontends/etc/relayd.conf.tpl b/frontends/etc/relayd.conf.tpl
index 1f3e60f..047fcb5 100644
--- a/frontends/etc/relayd.conf.tpl
+++ b/frontends/etc/relayd.conf.tpl
@@ -10,7 +10,7 @@ tcp protocol "gemini" {
tls keypair <%= $prefix %>snonux.land
tls keypair <%= $prefix %>buetow.org
tls keypair <%= $prefix %>paul.buetow.org
- tls keypair snonux.de
+ tls keypair <%= $prefix %>paul.cyou
}
relay "gemini4" {