1
0

hosts/web-2: add legal.clerie.de

This commit is contained in:
clerie 2023-03-22 22:27:36 +01:00
parent d0afa51964
commit c53b3e964b
2 changed files with 16 additions and 0 deletions

View File

@ -11,6 +11,7 @@
./gitea.nix ./gitea.nix
./iot-data.nix ./iot-data.nix
./ip.nix ./ip.nix
./legal.nix
./meow.nix ./meow.nix
./milchinsel.nix ./milchinsel.nix
./ping.nix ./ping.nix

15
hosts/web-2/legal.nix Normal file
View File

@ -0,0 +1,15 @@
{ pkgs, ... }:
{
services.nginx.virtualHosts = {
"legal.clerie.de" = {
enableACME = true;
forceSSL = true;
root = pkgs.fetchgit {
url = "https://git.clerie.de/clerie/legal.clerie.de.git";
rev = "c6900226e3107a2e370a32759d83db472ab5450d";
sha256 = "sha256-lOjbHqYc/85rjotwQ5Oj+MSWnDIfLx2w5mpiJkChbXU=";
};
};
};
}