summaryrefslogtreecommitdiff
path: root/frontends/etc
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/etc')
-rw-r--r--frontends/etc/gogios.cron.tpl2
-rw-r--r--frontends/etc/httpd.conf.tpl13
2 files changed, 13 insertions, 2 deletions
diff --git a/frontends/etc/gogios.cron.tpl b/frontends/etc/gogios.cron.tpl
index 84c6884..fc6299c 100644
--- a/frontends/etc/gogios.cron.tpl
+++ b/frontends/etc/gogios.cron.tpl
@@ -1,3 +1,3 @@
0 7 * * * <%= $gogios_path %> -renotify >/dev/null
-*/5 8-22 * * * <%= $gogios_path %> >/dev/null
+*/5 8-22 * * * -s <%= $gogios_path %> >/dev/null
0 3 * * 0 <%= $gogios_path %> -force >/dev/null
diff --git a/frontends/etc/httpd.conf.tpl b/frontends/etc/httpd.conf.tpl
index 8a26590..c34b5a4 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 snonux.foo/) { %>
+<% for my $host (qw/foo.zone paul.buetow.org/) { %>
<% for my $prefix (@prefixes) { -%>
server "<%= $prefix.$host %>" {
listen on * tls port 443
@@ -78,6 +78,17 @@ server "<%= $prefix %>buetow.org" {
block return 302 "https://paul.buetow.org$REQUEST_URI"
}
}
+
+server "<%= $prefix %>snonux.foo" {
+ listen on * tls port 443
+ tls {
+ certificate "/etc/ssl/<%= $prefix %>snonux.foo.fullchain.pem"
+ key "/etc/ssl/private/<%= $prefix %>snonux.foo.key"
+ }
+ location * {
+ block return 302 "https://foo.zone$REQUEST_URI"
+ }
+}
<% } -%>
# Redirect to gitub.dtail.dev