c3d2-web: separate vhost for datenspuren.de

This commit is contained in:
Astro 2021-10-06 03:21:22 +02:00
parent 7746b695e7
commit 8d63790f86
1 changed files with 18 additions and 3 deletions

View File

@ -26,14 +26,15 @@ in
"c3dd.de" "www.c3dd.de"
"cccdd.de" "www.cccdd.de"
"dresden.ccc.de" "www.dresden.ccc.de"
"datenspuren.de" "www.datenspuren.de"
];
# TODO:
# enableACME = true;
# forceSSL = true;
root = "${webroot}/c3d2";
extraConfig = ''
index portal.html;
'';
locations = {
# webhook
"/hooks/".proxyPass = "http://localhost:9000/hooks/";
# SpaceAPI
"/status.png".proxyPass = "http://[${hostRegistry.hosts.spaceapi.ip6}]:3000/status.png";
"/spaceapi.json".proxyPass = "http://[${hostRegistry.hosts.spaceapi.ip6}]:3000/spaceapi.json";
@ -44,6 +45,20 @@ in
};
};
"datenspuren.de" = {
serverAliases = [
"www.datenspuren.de"
];
# TODO:
# enableACME = true;
# forceSSL = true;
root = "${webroot}/c3d2/datenspuren";
extraConfig = ''
index index.html;
rewrite ^/$ /2021/ redirect;
'';
};
"c3d2-web.serv.zentralwerk.org" = {
enableACME = true;
forceSSL = true;