service/nginx: exclude access.log from backup

This commit is contained in:
Felix Buehler 2023-12-07 00:40:36 +01:00
parent 88f69e045c
commit 1d0eccd390

View file

@ -419,6 +419,13 @@ in
inherit (cfg.sso) port; inherit (cfg.sso) port;
} }
]; ];
my.services.backup = {
exclude = [
# fails often because the file changed
"/var/log/nginx/access.log"
];
};
networking.firewall.allowedTCPPorts = [ 80 443 ]; networking.firewall.allowedTCPPorts = [ 80 443 ];
# Nginx needs to be able to read the certificates # Nginx needs to be able to read the certificates
users.users.nginx.extraGroups = [ "acme" ]; users.users.nginx.extraGroups = [ "acme" ];