Add retention period and fix ssl settings
Some checks failed
Buill NixOS Configurations / Explore-Forgejo-Actions (carbon) (push) Successful in 27s
Buill NixOS Configurations / Explore-Forgejo-Actions (git) (push) Successful in 29s
Buill NixOS Configurations / Explore-Forgejo-Actions (gospel) (push) Failing after 7s
Buill NixOS Configurations / Explore-Forgejo-Actions (node) (push) Successful in 24s

This commit is contained in:
alejandro-angulo 2026-02-14 18:44:39 -08:00
parent 3cbedf9e52
commit 014d970fe4

View file

@ -38,6 +38,7 @@ in
allowed_hosts = "attic.kilonull.com"; allowed_hosts = "attic.kilonull.com";
api_endpoint = "https://attic.kilonull.com/"; api_endpoint = "https://attic.kilonull.com/";
listen = "[::]:8080"; listen = "[::]:8080";
garbage_collection.retention_period = "30d";
}; };
}; };
@ -46,6 +47,7 @@ in
virtualHosts."attic.kilonull.com" = { virtualHosts."attic.kilonull.com" = {
locations."/" = { locations."/" = {
proxyPass = "http://localhost:8080"; proxyPass = "http://localhost:8080";
};
} }
// lib.optionalAttrs (cfg.acmeCertName != "") { // lib.optionalAttrs (cfg.acmeCertName != "") {
forceSSL = true; forceSSL = true;
@ -53,5 +55,4 @@ in
}; };
}; };
}; };
};
} }