nixpkgs-update: serve logs

This commit is contained in:
Ryan Mulligan 2020-03-21 19:05:01 -07:00
parent 842d2c2f7e
commit a6bed4fed3

View file

@ -29,7 +29,7 @@ let
CacheDirectory = "nixpkgs-update";
CacheDirectoryMode = "700";
LogsDirectory = "nixpkgs-update";
LogsDirectoryMode = "700";
LogsDirectoryMode = "755";
StandardOutput = "journal";
};
in
@ -75,4 +75,13 @@ in
timerConfig = { OnCalendar = "daily"; };
};
services.nginx.virtualHosts."r.ryantm.com" = {
forceSSL = true;
enableACME = true;
locations."/log/" = {
alias = "/var/log/nixpkgs-update/";
extraConfig = "autoindex on;";
};
};
}