From a2991e9ca850b0d2f078b5434a8830fa14806d4e Mon Sep 17 00:00:00 2001 From: "Chinmay D. Pai" Date: Wed, 4 Sep 2024 02:15:28 +0530 Subject: [PATCH] chore: pass websocket connections to paperless This is required for the document upload processing to successfully run. Without this enabled, the document upload gets stuck on: Upload complete, waiting... Signed-off-by: Chinmay D. Pai --- modules/nixos/services/paperless/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/nixos/services/paperless/default.nix b/modules/nixos/services/paperless/default.nix index af4c617..03502fc 100644 --- a/modules/nixos/services/paperless/default.nix +++ b/modules/nixos/services/paperless/default.nix @@ -58,6 +58,7 @@ forceSSL = true; locations."/" = { proxyPass = "http://127.0.0.1:${toString config.services.paperless.port}/"; + proxyWebsockets = true; }; }; };