c3d2-web: redirect rc3 vhosts to datenspuren.de

This commit is contained in:
Astro 2023-01-08 23:10:22 +01:00
parent 1a639fac62
commit fb77c92330
2 changed files with 14 additions and 3 deletions

View File

@ -91,6 +91,19 @@ in
'';
};
# temporary redirects for outdated domains
"dezentrale-jahresendveranstaltungen.fyi" = {
serverAliases = [
"rc3.c3d2.de"
"www.dezentrale-jahresendveranstaltungen.fyi"
];
enableACME = true;
forceSSL = true;
locations."/".extraConfig = ''
return 301 https://datenspuren.de;
'';
};
# hooks, logs
"c3d2-web.flpk.zentralwerk.org" = {
enableACME = true;

View File

@ -60,6 +60,7 @@
"openpgpkey.c3d2.de"
"netzbiotop.org" "www.netzbiotop.org"
"autotopia.c3d2.de"
"rc3.c3d2.de" "dezentrale-jahresendveranstaltungen.fyi" "www.dezentrale-jahresendveranstaltungen.fyi"
];
proxyTo.host = zentralwerk.lib.config.site.net.flpk.hosts4.c3d2-web;
} {
@ -123,9 +124,6 @@
} {
hostNames = [ "ticker.c3d2.de" ];
proxyTo.host = hostRegistry.ticker.ip4;
} {
hostNames = [ "rc3.c3d2.de" "dezentrale-jahresendveranstaltungen.fyi" "www.dezentrale-jahresendveranstaltungen.fyi" ];
proxyTo.host = hostRegistry.rc3ticker.ip4;
} {
hostNames = [ "wiki.c3d2.de" ];
proxyTo.host = hostRegistry.mediawiki.ip4;