diff --git a/acme.nix b/acme.nix index b5b6828..14e6513 100644 --- a/acme.nix +++ b/acme.nix @@ -8,6 +8,7 @@ "git.sourcehut.${base-domain}" "docspell.${base-domain}" "teedy.${base-domain}" + "paperless.${base-domain}" ]; acceptTerms = true; defaults = { diff --git a/nginx.nix b/nginx.nix index be8f822..84658fa 100644 --- a/nginx.nix +++ b/nginx.nix @@ -33,6 +33,13 @@ proxyPass = "http://localhost:8080"; }; }; + "paperless.${base-domain}" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://localhost:8000"; + }; + }; }; }; }