From 8299009b77e9611bb74adeb54a7916348aebbc44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Mon, 26 Aug 2024 17:11:05 +0200 Subject: [PATCH] fix(paperless): use correct syntax for specifying port --- nginx.nix | 2 +- paperless.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.nix b/nginx.nix index 84658fa..c1c72ee 100644 --- a/nginx.nix +++ b/nginx.nix @@ -37,7 +37,7 @@ enableACME = true; forceSSL = true; locations."/" = { - proxyPass = "http://localhost:8000"; + proxyPass = "http://localhost:28981"; }; }; }; diff --git a/paperless.nix b/paperless.nix index 285130c..c3b937d 100644 --- a/paperless.nix +++ b/paperless.nix @@ -6,6 +6,7 @@ in services.paperless = { enable = true; address = fqdn; + port = 28981; settings = { PAPERLESS_DBHOST = "/run/postgresql"; PAPERLESS_DBNAME = "paperless"; @@ -21,7 +22,6 @@ in PAPERLESS_CONSUMER_ENABLE_BARCODES = "true"; PAPERLESS_CONSUMER_ENABLE_ASN_BARCODES = "true"; PAPERLESS_CONSUMER_BARCODE_SCANNER = "ZXING"; - PAPERLESS_PORT = "8000"; }; }; }