feat(rpi4): enable paperless again
This commit is contained in:
parent
867bd7d3de
commit
4ba4608b82
|
@ -8,25 +8,25 @@ in {
|
|||
group = config.services.paperless.user;
|
||||
};
|
||||
|
||||
/* services.paperless = {
|
||||
enable = true;
|
||||
inherit port;
|
||||
passwordFile = config.age.secrets.paperless.path;
|
||||
extraConfig = {
|
||||
PAPERLESS_ADMIN_USER = "felschr";
|
||||
PAPERLESS_OCR_LANGUAGE = "deu+eng";
|
||||
};
|
||||
};
|
||||
services.paperless = {
|
||||
enable = true;
|
||||
inherit port;
|
||||
passwordFile = config.age.secrets.paperless.path;
|
||||
extraConfig = {
|
||||
PAPERLESS_ADMIN_USER = "felschr";
|
||||
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