paperless update

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-01-27 22:18:57 +01:00
parent b4586e8661
commit ac36fa13ac
4 changed files with 191 additions and 165 deletions

View File

@@ -14,7 +14,7 @@
};
certs = {
"${domain}" = {
extraDomainNames = builtins.map (subd: "${subd}.${domain}") [ "git" "pw" "sync" ];
extraDomainNames = builtins.map (subd: "${subd}.${domain}") [ "sync" ];
};
};
};
@@ -140,9 +140,24 @@
listen = dl;
locations = { "/" = { proxyPass = "http://127.0.0.1:5232"; }; };
});
"nc.${domain}" = vh // {
# directly to nc
# "nc.${domain}" = vh // {
# # directly to nc
# };
"abs.${domain}" = vh // {
listen = dl;
locations = { "/" = {
proxyPass = "http://127.0.0.1:${builtins.toString config.services.audiobookshelf.port}";
proxyWebsockets = true;
}; };
};
# is done atomatically
# "cal.${domain}" = vh // {
# listen = dl;
# locations = { "/" = {
# proxyPass = "http://unix:///run/open-web-calendar/socket";
# proxyWebsockets = true;
# }; };
# };
"~^(.*).${domain}$" = {
listen = dl;
root = "/var/nginx/webroot";