fix(paperless): use correct syntax for specifying port

This commit is contained in:
Khaïs COLIN 2024-08-26 17:11:05 +02:00
parent 595cd91b5a
commit 8299009b77
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:8000";
proxyPass = "http://localhost:28981";
};
};
};

View file

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