1
0

Migrate prediger website to web-2

This commit is contained in:
clerie 2021-12-12 18:42:41 +01:00
parent 6df7ca5da6
commit 2a4f3a2d83
2 changed files with 23 additions and 0 deletions

View File

@ -12,6 +12,7 @@
./ip.nix ./ip.nix
./meow.nix ./meow.nix
./milchinsel.nix ./milchinsel.nix
./prediger.nix
./public.nix ./public.nix
./radicale.nix ./radicale.nix
./reichartstrasse.nix ./reichartstrasse.nix

22
hosts/web-2/prediger.nix Normal file
View File

@ -0,0 +1,22 @@
{ ... }:
{
services.nginx.virtualHosts = {
"prediger.riese.space" = {
enableACME = true;
forceSSL = true;
root = fetchGit {
url = "https://git.clerie.de/clerie/prediger.riese.space.git";
ref = "main";
rev = "7f51e884ccf8a258838adb1d825bc51eeef2f475";
};
locations."/map/" = {
alias = fetchGit {
url = "https://git.clerie.de/quiribi/Prediger-workadventure.git";
ref = "master";
rev = "304850367aad275c3410005580313dac7fe24788";
} + "/";
};
};
};
}