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"; }; }; }