From df4e162a9b6780845b2c15760a64777f977a8e64 Mon Sep 17 00:00:00 2001 From: clerie Date: Tue, 8 Nov 2022 17:04:03 +0100 Subject: [PATCH] hosts/web-2: add tap.clerie.de --- hosts/web-2/configuration.nix | 1 + hosts/web-2/tap.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 hosts/web-2/tap.nix diff --git a/hosts/web-2/configuration.nix b/hosts/web-2/configuration.nix index c8ccfe9..88fc258 100644 --- a/hosts/web-2/configuration.nix +++ b/hosts/web-2/configuration.nix @@ -18,6 +18,7 @@ ./public.nix ./radicale.nix ./reichartstrasse.nix + ./tap.nix ./uptimestatus.nix ./wetter.nix ./znc.nix diff --git a/hosts/web-2/tap.nix b/hosts/web-2/tap.nix new file mode 100644 index 0000000..09582ce --- /dev/null +++ b/hosts/web-2/tap.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: + +{ + services.nginx.virtualHosts = { + "tap.clerie.de" = { + enableACME = true; + forceSSL = true; + root = pkgs.fetchgit { + url = "https://git.clerie.de/clerie/tap.clerie.de.git"; + rev = "a90df6f6cb6dc58ab807b230527aae76c48cdcc8"; + sha256 = "sha256-GTUy98NHXvR7pG8lUWZm6wa0XjULnDTSu17C/DQuXBI="; + }; + }; + }; +}