Emitter: Enable nginx log rotation
This commit is contained in:
parent
f348a12586
commit
a9e5a7e83d
1 changed files with 7 additions and 0 deletions
|
@ -144,6 +144,13 @@
|
||||||
|
|
||||||
services.postgresql.package = pkgs.postgresql_13;
|
services.postgresql.package = pkgs.postgresql_13;
|
||||||
|
|
||||||
|
services.logrotate = {
|
||||||
|
enable = true;
|
||||||
|
settings.nginx = {
|
||||||
|
rotate = 2;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It’s perfectly fine and recommended to leave
|
# on your system were taken. It’s perfectly fine and recommended to leave
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue