Compare commits
No commits in common. "95b5d4b3bd879783cef39f4d50f902e55548313f" and "759a9c7c0c088b1e65d22500bd66ffbae71f70ae" have entirely different histories.
95b5d4b3bd
...
759a9c7c0c
|
@ -153,12 +153,7 @@
|
|||
services.logrotate = {
|
||||
enable = true;
|
||||
|
||||
settings =
|
||||
{
|
||||
# Override the default, just keep fewer logs
|
||||
nginx.rotate = 6;
|
||||
}
|
||||
// lib.mapAttrs' (virtualHost: _:
|
||||
settings = lib.mapAttrs' (virtualHost: _:
|
||||
lib.nameValuePair "/var/log/nginx/${virtualHost}/access.log" {
|
||||
frequency = "daily";
|
||||
rotate = 2;
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
{config, ...}: {
|
||||
config.services.victoriametrics = {
|
||||
enable = true;
|
||||
extraOptions = [
|
||||
"-storage.minFreeDiskSpaceBytes=5GB"
|
||||
];
|
||||
|
||||
scrapeConfigs = {
|
||||
gitea = {
|
||||
|
|
Loading…
Reference in a new issue