From a75b5bd2a0fa44db42dc482ac76c82b68d7bc306 Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Thu, 7 Aug 2025 12:50:08 +0100 Subject: [PATCH] chore(llm): add docling service location configuration Add configuration for routing requests to the docling-serve service via the "/docling" endpoint, enabling access from LAN, VPN, and WAN networks. --- modules/services/llm/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/services/llm/default.nix b/modules/services/llm/default.nix index ad433f6..d6c9512 100644 --- a/modules/services/llm/default.nix +++ b/modules/services/llm/default.nix @@ -103,6 +103,15 @@ in proxyWebsockets = true; }; }; + "${cfg.backend.domain}" = { + locations."/docling" = { + host = config.services.docling-serve.host; + port = config.services.docling-serve.port; + allowLAN = true; + allowVPN = true; + allowWAN = true; + }; + }; }; }) ];