summaryrefslogtreecommitdiff
path: root/frontends/etc
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-05-01 21:08:27 +0300
committerPaul Buetow <paul@buetow.org>2024-05-01 21:08:27 +0300
commit6e885a6d41e2de2cc271737c57117745370ae0bb (patch)
tree8d7505e7f71be75449cd2691de9608dc98594a2f /frontends/etc
parent894657ceafdb72b612f5c9143f6a3b0188d54dd7 (diff)
introducing alt.irregular.ninja and standby.alt.irregular.ninja
Diffstat (limited to 'frontends/etc')
-rw-r--r--frontends/etc/httpd.conf.tpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/frontends/etc/httpd.conf.tpl b/frontends/etc/httpd.conf.tpl
index bca42d8..8a26590 100644
--- a/frontends/etc/httpd.conf.tpl
+++ b/frontends/etc/httpd.conf.tpl
@@ -109,6 +109,20 @@ server "<%= $prefix %>irregular.ninja" {
}
<% } -%>
+<% for my $prefix (@prefixes) { -%>
+server "<%= $prefix %>alt.irregular.ninja" {
+ listen on * tls port 443
+ tls {
+ certificate "/etc/ssl/<%= $prefix %>alt.irregular.ninja.fullchain.pem"
+ key "/etc/ssl/private/<%= $prefix %>alt.irregular.ninja.key"
+ }
+ location * {
+ root "/htdocs/alt.irregular.ninja"
+ directory auto index
+ }
+}
+<% } -%>
+
# Dory special host
<% for my $prefix (@prefixes) { -%>
server "<%= $prefix %>dory.buetow.org" {