summaryrefslogtreecommitdiff
path: root/frontends/etc
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/etc')
-rw-r--r--frontends/etc/httpd.conf.tpl13
1 files changed, 12 insertions, 1 deletions
diff --git a/frontends/etc/httpd.conf.tpl b/frontends/etc/httpd.conf.tpl
index c34b5a4..6f75dfb 100644
--- a/frontends/etc/httpd.conf.tpl
+++ b/frontends/etc/httpd.conf.tpl
@@ -43,7 +43,7 @@ server "<%= "$hostname.$domain" %>" {
}
# Gemtexter hosts
-<% for my $host (qw/foo.zone paul.buetow.org/) { %>
+<% for my $host (qw/foo.zone/) { %>
<% for my $prefix (@prefixes) { -%>
server "<%= $prefix.$host %>" {
listen on * tls port 443
@@ -89,6 +89,17 @@ server "<%= $prefix %>snonux.foo" {
block return 302 "https://foo.zone$REQUEST_URI"
}
}
+
+server "<%= $prefix %>paul.buetow.org" {
+ listen on * tls port 443
+ tls {
+ certificate "/etc/ssl/<%= $prefix %>paul.buetow.org.fullchain.pem"
+ key "/etc/ssl/private/<%= $prefix %>paul.buetow.org.key"
+ }
+ location * {
+ block return 302 "https://foo.zone/about$REQUEST_URI"
+ }
+}
<% } -%>
# Redirect to gitub.dtail.dev