diff --git a/hosts/web-2/configuration.nix b/hosts/web-2/configuration.nix index 907113e..dc062c5 100644 --- a/hosts/web-2/configuration.nix +++ b/hosts/web-2/configuration.nix @@ -11,6 +11,7 @@ ./gitea.nix ./iot-data.nix ./ip.nix + ./legal.nix ./meow.nix ./milchinsel.nix ./ping.nix diff --git a/hosts/web-2/legal.nix b/hosts/web-2/legal.nix new file mode 100644 index 0000000..5fc6688 --- /dev/null +++ b/hosts/web-2/legal.nix @@ -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="; + }; + }; + }; +}