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;