mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 01:44:40 +02:00
service/nginx: exclude access.log from backup
This commit is contained in:
parent
88f69e045c
commit
1d0eccd390
1 changed files with 7 additions and 0 deletions
|
@ -419,6 +419,13 @@ in
|
|||
inherit (cfg.sso) port;
|
||||
}
|
||||
];
|
||||
my.services.backup = {
|
||||
exclude = [
|
||||
# fails often because the file changed
|
||||
"/var/log/nginx/access.log"
|
||||
];
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
# Nginx needs to be able to read the certificates
|
||||
users.users.nginx.extraGroups = [ "acme" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue