fix(paperless): use correct syntax for specifying port
This commit is contained in:
parent
595cd91b5a
commit
8299009b77
2 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:8000";
|
proxyPass = "http://localhost:28981";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ in
|
||||||
services.paperless = {
|
services.paperless = {
|
||||||
enable = true;
|
enable = true;
|
||||||
address = fqdn;
|
address = fqdn;
|
||||||
|
port = 28981;
|
||||||
settings = {
|
settings = {
|
||||||
PAPERLESS_DBHOST = "/run/postgresql";
|
PAPERLESS_DBHOST = "/run/postgresql";
|
||||||
PAPERLESS_DBNAME = "paperless";
|
PAPERLESS_DBNAME = "paperless";
|
||||||
|
|
@ -21,7 +22,6 @@ in
|
||||||
PAPERLESS_CONSUMER_ENABLE_BARCODES = "true";
|
PAPERLESS_CONSUMER_ENABLE_BARCODES = "true";
|
||||||
PAPERLESS_CONSUMER_ENABLE_ASN_BARCODES = "true";
|
PAPERLESS_CONSUMER_ENABLE_ASN_BARCODES = "true";
|
||||||
PAPERLESS_CONSUMER_BARCODE_SCANNER = "ZXING";
|
PAPERLESS_CONSUMER_BARCODE_SCANNER = "ZXING";
|
||||||
PAPERLESS_PORT = "8000";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue