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";
|
CacheDirectory = "nixpkgs-update";
|
||||||
CacheDirectoryMode = "700";
|
CacheDirectoryMode = "700";
|
||||||
LogsDirectory = "nixpkgs-update";
|
LogsDirectory = "nixpkgs-update";
|
||||||
LogsDirectoryMode = "700";
|
LogsDirectoryMode = "755";
|
||||||
StandardOutput = "journal";
|
StandardOutput = "journal";
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
@ -75,4 +75,13 @@ in
|
||||||
timerConfig = { OnCalendar = "daily"; };
|
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
Add a link
Reference in a new issue