diff --git a/hosts/web-2/configuration.nix b/hosts/web-2/configuration.nix index 61e6b39..283c5be 100644 --- a/hosts/web-2/configuration.nix +++ b/hosts/web-2/configuration.nix @@ -19,6 +19,7 @@ ./milchinsel.nix ./mitel-ommclient2.nix ./nix-install.nix + ./nogo2024.nix ./ping.nix ./public.nix ./radicale.nix diff --git a/hosts/web-2/nogo2024.nix b/hosts/web-2/nogo2024.nix new file mode 100644 index 0000000..f1fe085 --- /dev/null +++ b/hosts/web-2/nogo2024.nix @@ -0,0 +1,20 @@ +{ pkgs, ... }: + +{ + services.nginx.virtualHosts = { + "nogo2024.clerie.de" = { + enableACME = true; + forceSSL = true; + locations."/" = { + return = "404"; + }; + locations."= /nogo2024.ics" = { + root = pkgs.fetchgit { + url = "https://git.clerie.de/clerie/nogo2024.git"; + rev = "09f06098589e1cc37db4cda49841db192b562b1a"; + sha256 = "sha256-4tYyIEpUwR94JzjYy7b1FYBzQooPpT3V0wAEreUQZS4="; + }; + }; + }; + }; +}