Compare commits
2 commits
1c07fbec8f
...
95b5d4b3bd
| Author | SHA1 | Date | |
|---|---|---|---|
| 95b5d4b3bd | |||
| eb3bd485c4 |
2 changed files with 20 additions and 15 deletions
|
|
@ -153,7 +153,12 @@
|
|||
services.logrotate = {
|
||||
enable = true;
|
||||
|
||||
settings = lib.mapAttrs' (virtualHost: _:
|
||||
settings =
|
||||
{
|
||||
# Override the default, just keep fewer logs
|
||||
nginx.rotate = 6;
|
||||
}
|
||||
// lib.mapAttrs' (virtualHost: _:
|
||||
lib.nameValuePair "/var/log/nginx/${virtualHost}/access.log" {
|
||||
frequency = "daily";
|
||||
rotate = 2;
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@
|
|||
in {
|
||||
imports = [flake-inputs.foundryvtt.nixosModules.foundryvtt];
|
||||
|
||||
# services.foundryvtt = {
|
||||
# enable = true;
|
||||
# hostName = domain;
|
||||
# minifyStaticFiles = true;
|
||||
# };
|
||||
services.foundryvtt = {
|
||||
enable = true;
|
||||
hostName = domain;
|
||||
minifyStaticFiles = true;
|
||||
};
|
||||
|
||||
# Want to start it manually when I need it, not have it constantly
|
||||
# running
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue