Files
hearth/nixos/system/hectic-lab/attic.nix
T
2026-06-04 18:58:03 +00:00

18 lines
296 B
Nix

{
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";
};
};
}