1
0

Compare commits

...

3 Commits

Author SHA1 Message Date
56788025f4 Add webcam to bula22.de 2022-07-25 20:25:50 +02:00
cc8abd07b8 Add domain bula22.de to web-2 2022-07-25 19:34:00 +02:00
bd00b1f86d Add VPN tunnel 2022-07-25 19:32:55 +02:00
3 changed files with 38 additions and 2 deletions

View File

@ -98,9 +98,9 @@
publicKey = "QGQHWwDE1XIeiReFcacLxin4Dqlz1pBXvttFnzBMJSY=";
}
{
# nexus
# ceasium
allowedIPs = [ "2a01:4f8:c0c:15f1::8012/128" "10.20.30.12/32" ];
publicKey = "tEJzPPEJkoTPkhzTWyFDZ+5U146ovHA/4Mv3JButSAQ=";
publicKey = "tvWpYlaS3ItTWH9CZv4SHzXToIblJP2j+Mt1V+3cegM=";
}
{
# terra
@ -112,6 +112,11 @@
allowedIPs = [ "2a01:4f8:c0c:15f1::8015/128" "10.20.30.15/32" ];
publicKey = "j+ao/TTTE2hThdqBtLQuC67QSaKXMhhWTky6MzkhrxY=";
}
{
# jannik
allowedIPs = [ "2a01:4f8:c0c:15f1::8016/128" "10.20.30.16/32" ];
publicKey = "V6Kc++QmJ4RkLSWvcLj/KgbIafvi7URV6dOgFnKSAwM=";
}
{
# palladium
allowedIPs = [ "2a01:4f8:c0c:15f1::8103/128" "10.20.30.103/32" ];
@ -121,6 +126,11 @@
# allowedIPs = [ "2a01:4f8:c0c:15f1::8104/128" "10.20.30.104/32" ];
# publicKey = "k1eQINwZPRdIEhND5sKAcHMxEpz/Z+B/2ZCdLhHCG3w=";
#}
{
# vcp-bula-mon
allowedIPs = [ "2a01:4f8:c0c:15f1::8105/128" "10.20.30.105/32" ];
publicKey = "6gi04ExLQnpwxmTzQwQz3AsPS+ujKmANh6+o0nAzJwM=";
}
];
listenPort = 51820;
allowedIPsAsRoutes = false;

25
hosts/web-2/bula22.nix Normal file
View File

@ -0,0 +1,25 @@
{ ... }:
{
services.nginx.virtualHosts = {
"bula22.de" = {
enableACME = true;
forceSSL = true;
locations."/" = {
return = ''200 '
<html>
<head>
<title>VCP Bundeslager 2022</title>
</head>
<body>
<img src="https://p619357.mittwaldserver.info/webcam/current.jpg">
</body>
</html>'
'';
extraConfig = ''
add_header Content-Type text/html;
'';
};
};
};
}

View File

@ -6,6 +6,7 @@
./hardware-configuration.nix
../../configuration/common
./bubblesort.nix
./bula22.nix
./clerie.nix
./gitea.nix
./iot-data.nix