c3d2-web: separate vhost for datenspuren.de
This commit is contained in:
parent
7746b695e7
commit
8d63790f86
|
@ -26,14 +26,15 @@ in
|
||||||
"c3dd.de" "www.c3dd.de"
|
"c3dd.de" "www.c3dd.de"
|
||||||
"cccdd.de" "www.cccdd.de"
|
"cccdd.de" "www.cccdd.de"
|
||||||
"dresden.ccc.de" "www.dresden.ccc.de"
|
"dresden.ccc.de" "www.dresden.ccc.de"
|
||||||
"datenspuren.de" "www.datenspuren.de"
|
|
||||||
];
|
];
|
||||||
|
# TODO:
|
||||||
# enableACME = true;
|
# enableACME = true;
|
||||||
# forceSSL = true;
|
# forceSSL = true;
|
||||||
root = "${webroot}/c3d2";
|
root = "${webroot}/c3d2";
|
||||||
|
extraConfig = ''
|
||||||
|
index portal.html;
|
||||||
|
'';
|
||||||
locations = {
|
locations = {
|
||||||
# webhook
|
|
||||||
"/hooks/".proxyPass = "http://localhost:9000/hooks/";
|
|
||||||
# SpaceAPI
|
# SpaceAPI
|
||||||
"/status.png".proxyPass = "http://[${hostRegistry.hosts.spaceapi.ip6}]:3000/status.png";
|
"/status.png".proxyPass = "http://[${hostRegistry.hosts.spaceapi.ip6}]:3000/status.png";
|
||||||
"/spaceapi.json".proxyPass = "http://[${hostRegistry.hosts.spaceapi.ip6}]:3000/spaceapi.json";
|
"/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" = {
|
"c3d2-web.serv.zentralwerk.org" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
|
|
Loading…
Reference in New Issue