diff options
| author | Paul Buetow <paul@buetow.org> | 2023-08-27 13:51:55 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-08-27 13:51:55 +0300 |
| commit | 9b40f12fb4ccb39b99dc68d6862a7ba3ccf2e762 (patch) | |
| tree | ad62a4ad5f342e514a8300a70b58d420608e8158 /frontends | |
| parent | 2b9e023a233df823f9af1401270a080bf0b2158d (diff) | |
move paul.buetow.org to paul.cyou
Diffstat (limited to 'frontends')
| -rw-r--r-- | frontends/etc/httpd.conf.tpl | 8 | ||||
| -rw-r--r-- | frontends/scripts/gemtexter.sh.tpl | 8 |
2 files changed, 8 insertions, 8 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" } } <% } %> diff --git a/frontends/scripts/gemtexter.sh.tpl b/frontends/scripts/gemtexter.sh.tpl index f86c699..50e19dd 100644 --- a/frontends/scripts/gemtexter.sh.tpl +++ b/frontends/scripts/gemtexter.sh.tpl @@ -45,7 +45,7 @@ function ensure_links { } <% if ($is_primary->($vio0_ip)) { %> -for site in foo.zone paul.buetow.org; do +for site in foo.zone paul.cyou; do ensure_site \ /var/gemini/$site \ https://codeberg.org/snonux/$site \ @@ -56,8 +56,8 @@ for site in foo.zone paul.buetow.org; do content-html done -ensure_links /var/gemini/paul.buetow.org buetow.org -ensure_links /var/gemini/paul.buetow.org paul.cyou -ensure_links /var/gemini/paul.buetow.org snonux.foo +ensure_links /var/gemini/paul.cyou buetow.org +ensure_links /var/gemini/paul.cyou paul.buetow.org +ensure_links /var/gemini/paul.cyou snonux.foo <% } %> |
