From 99d55efb8cd9c7b01c6a6f05570b750c41f58e13 Mon Sep 17 00:00:00 2001 From: harry Date: Mon, 22 Jul 2024 11:04:32 +0200 Subject: [PATCH] added calibre-web support --- features/caddy.nix | 4 ++++ features/calibre-web.nix | 1 + features/homelab-dashboard.nix | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/features/caddy.nix b/features/caddy.nix index 6cb1602..daaf8b4 100644 --- a/features/caddy.nix +++ b/features/caddy.nix @@ -13,6 +13,10 @@ virtualHosts.":4001".extraConfig = '' reverse_proxy :4000 ''; + + virtualHosts.":5050".extraConfig = '' + reverse_proxy :8083 + ''; }; } diff --git a/features/calibre-web.nix b/features/calibre-web.nix index b580fb2..d1095e5 100644 --- a/features/calibre-web.nix +++ b/features/calibre-web.nix @@ -6,6 +6,7 @@ openFirewall = true; options = { enableBookUploading = true; + enableKepubify = true; }; }; } diff --git a/features/homelab-dashboard.nix b/features/homelab-dashboard.nix index 7b7249f..234b9cf 100644 --- a/features/homelab-dashboard.nix +++ b/features/homelab-dashboard.nix @@ -105,7 +105,7 @@ in "Calibre-web" = { icon = "calibre"; description = "Serveur de livres"; - href = "http://${ip}:8083"; + href = "http://${ip}:5050"; }; } {