From afd0ec1001429ed5a6241dcbcc43ef0b1002498c Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Mon, 5 Jan 2026 16:12:41 +0000 Subject: [PATCH] cache --- hosts/tahani/cache.nix | 10 ++++++++++ hosts/tahani/default.nix | 1 + 2 files changed, 11 insertions(+) create mode 100644 hosts/tahani/cache.nix diff --git a/hosts/tahani/cache.nix b/hosts/tahani/cache.nix new file mode 100644 index 0000000..bd8df07 --- /dev/null +++ b/hosts/tahani/cache.nix @@ -0,0 +1,10 @@ +{...}: { + services.caddy.virtualHosts."cache.manticore-hippocampus.ts.net" = { + extraConfig = '' + tls { + get_certificate tailscale + } + reverse_proxy localhost:32843 + ''; + }; +} diff --git a/hosts/tahani/default.nix b/hosts/tahani/default.nix index e67a720..3a2918e 100644 --- a/hosts/tahani/default.nix +++ b/hosts/tahani/default.nix @@ -6,6 +6,7 @@ }: { imports = [ ./adguardhome.nix + ./cache.nix ./networking.nix ./paperless.nix ./secrets.nix