summaryrefslogtreecommitdiff
path: root/frontends/etc
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-08-27 13:51:55 +0300
committerPaul Buetow <paul@buetow.org>2023-08-27 13:51:55 +0300
commit9b40f12fb4ccb39b99dc68d6862a7ba3ccf2e762 (patch)
treead62a4ad5f342e514a8300a70b58d420608e8158 /frontends/etc
parent2b9e023a233df823f9af1401270a080bf0b2158d (diff)
move paul.buetow.org to paul.cyou
Diffstat (limited to 'frontends/etc')
-rw-r--r--frontends/etc/httpd.conf.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/frontends/etc/httpd.conf.tpl b/frontends/etc/httpd.conf.tpl
index ee045a7..5ac907f 100644
--- a/frontends/etc/httpd.conf.tpl
+++ b/frontends/etc/httpd.conf.tpl
@@ -30,7 +30,7 @@ server "<%= "$hostname.$domain" %>" {
}
# Gemtexter hosts
-<% for my $host (qw/foo.zone snonux.land paul.buetow.org/) { %>
+<% for my $host (qw/foo.zone snonux.land paul.cyou/) { %>
server "<%= $prefix.$host %>" {
listen on * tls port 443
tls {
@@ -47,8 +47,8 @@ server "<%= $prefix.$host %>" {
}
<% } %>
-# Redirect to paul.buetow.org
-<% for my $host (qw/buetow.org paul.cyou snonux.foo/) { %>
+# Redirect to paul.cyou
+<% for my $host (qw/buetow.org paul.buetow.org snonux.foo/) { %>
server "<%= $prefix.$host %>" {
listen on * tls port 443
tls {
@@ -56,7 +56,7 @@ server "<%= $prefix.$host %>" {
key "/etc/ssl/private/<%= $prefix.$host %>.key"
}
location * {
- block return 302 "https://<%= $prefix %>paul.buetow.org"
+ block return 302 "https://<%= $prefix %>paul.cyou$REQUEST_URI"
}
}
<% } %>