feat(paperless): setup nginx proxy + letsencrypt
This commit is contained in:
parent
c1fa821778
commit
1463b9986a
2 changed files with 8 additions and 0 deletions
1
acme.nix
1
acme.nix
|
|
@ -8,6 +8,7 @@
|
||||||
"git.sourcehut.${base-domain}"
|
"git.sourcehut.${base-domain}"
|
||||||
"docspell.${base-domain}"
|
"docspell.${base-domain}"
|
||||||
"teedy.${base-domain}"
|
"teedy.${base-domain}"
|
||||||
|
"paperless.${base-domain}"
|
||||||
];
|
];
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
defaults = {
|
defaults = {
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,13 @@
|
||||||
proxyPass = "http://localhost:8080";
|
proxyPass = "http://localhost:8080";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
"paperless.${base-domain}" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:8000";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue