feat(rpi4): enable paperless again
This commit is contained in:
parent
867bd7d3de
commit
4ba4608b82
|
@ -8,25 +8,25 @@ in {
|
||||||
group = config.services.paperless.user;
|
group = config.services.paperless.user;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* services.paperless = {
|
services.paperless = {
|
||||||
enable = true;
|
enable = true;
|
||||||
inherit port;
|
inherit port;
|
||||||
passwordFile = config.age.secrets.paperless.path;
|
passwordFile = config.age.secrets.paperless.path;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
PAPERLESS_ADMIN_USER = "felschr";
|
PAPERLESS_ADMIN_USER = "felschr";
|
||||||
PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.nginx = {
|
||||||
|
virtualHosts."paperless.felschr.com" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:${toString port}";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
services.nginx = {
|
|
||||||
virtualHosts."paperless.felschr.com" = {
|
|
||||||
enableACME = true;
|
|
||||||
forceSSL = true;
|
|
||||||
locations."/" = {
|
|
||||||
proxyPass = "http://localhost:${toString port}";
|
|
||||||
proxyWebsockets = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue