nixpkgs-update: serve logs
This commit is contained in:
parent
842d2c2f7e
commit
a6bed4fed3
1 changed files with 10 additions and 1 deletions
|
@ -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;";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue