feat: lab: +attic cache

This commit is contained in:
2026-06-04 18:58:03 +00:00
parent df19d16269
commit c50d274ae1
5 changed files with 97 additions and 10 deletions
+17
View File
@@ -0,0 +1,17 @@
{
domain,
...
}: { ... }: {
hectic.services.attic = {
enable = true;
hostName = "cache.${domain}";
};
services.nginx.virtualHosts."cache.${domain}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8080";
};
};
}