From 3f9dfbd8c6130ddf3a7c2fee6f92250aa67e12c4 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sat, 24 May 2025 09:06:07 +0000 Subject: [PATCH] manatee: Add virtual host for `calibre-web` --- hosts/manatee/modules/calibre-web/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/manatee/modules/calibre-web/default.nix b/hosts/manatee/modules/calibre-web/default.nix index 356903c..c69b968 100644 --- a/hosts/manatee/modules/calibre-web/default.nix +++ b/hosts/manatee/modules/calibre-web/default.nix @@ -29,6 +29,15 @@ in enableBookUploading = true; }; }; + + nginx = { + virtualHosts."books.ppp.pm" = { + + locations."/" = { + proxyPass = "http://0.0.0.0:8083"; # TODO add option for port + host + }; + }; + }; }; }; }