feat(paperless): setup nginx proxy + letsencrypt

This commit is contained in:
Khaïs COLIN 2024-08-26 15:48:54 +02:00
parent c1fa821778
commit 1463b9986a
2 changed files with 8 additions and 0 deletions

View file

@ -8,6 +8,7 @@
"git.sourcehut.${base-domain}"
"docspell.${base-domain}"
"teedy.${base-domain}"
"paperless.${base-domain}"
];
acceptTerms = true;
defaults = {

View file

@ -33,6 +33,13 @@
proxyPass = "http://localhost:8080";
};
};
"paperless.${base-domain}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:8000";
};
};
};
};
}