From 413c8cc52c4eb330036932d718575a3e4383475d Mon Sep 17 00:00:00 2001 From: clerie Date: Sun, 26 May 2024 20:41:09 +0200 Subject: [PATCH] hosts/web-2: Add nogo2024.clerie.de --- hosts/web-2/configuration.nix | 1 + hosts/web-2/nogo2024.nix | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 hosts/web-2/nogo2024.nix 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="; + }; + }; + }; + }; +}