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;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:8000";
|
||||
proxyPass = "http://localhost:28981";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue