From a96f532cdfcf31fe3f3b0dbc331ecabbf5b12a6c Mon Sep 17 00:00:00 2001 From: Christoph Schmatzler Date: Sat, 20 Dec 2025 23:13:08 +0100 Subject: [PATCH] caddy --- hosts/tahani/paperless.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/tahani/paperless.nix b/hosts/tahani/paperless.nix index 0ca3a5f..b0f3a6f 100644 --- a/hosts/tahani/paperless.nix +++ b/hosts/tahani/paperless.nix @@ -1,4 +1,13 @@ {config, ...}: { + services.caddy = { + enable = true; + virtualHosts."docs.manticore-hippocampus.ts.net" = { + extraConfig = '' + reverse_proxy localhost:${toString config.services.paperless.port} + ''; + }; + }; + services.redis.servers.paperless = { enable = true; port = 6379;