linde: serve laminar artefacts via caddy
Alan Pearce alan@alanpearce.eu
Sun, 23 Feb 2025 23:44:52 +0100
1 files changed, 6 insertions(+), 0 deletions(-)
jump to
M system/linde.nix → system/linde.nix
@@ -606,6 +606,10 @@ { useACMEHost = "alanpearce.eu"; extraConfig = '' reverse_proxy ${srv.settings.bindHTTP} + handle_path /archive/* { + root * ${srv.homeDir}/archive + file_server browse + } ''; }; "stats.alanpearce.eu" = @@ -991,11 +995,13 @@ ]; settings = { bindHTTP = "[::1]:8002"; keepRundirs = 1; + archiveURL = "https://ci.alanpearce.eu/archive/"; }; }; users.users.laminar = { homeMode = "770"; }; + users.groups.laminar.members = [ "caddy" ]; virtualisation.containers = { enable = true;