ma bgt/download: remove obsolete netdata entry
This commit is contained in:
parent
ccb7655103
commit
34da75341b
@ -17,12 +17,14 @@ in {
|
|||||||
PasswordAuthentication no
|
PasswordAuthentication no
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.auphonic = {
|
users.users.auphonic = {
|
||||||
uid = genid "auphonic";
|
uid = genid "auphonic";
|
||||||
group = "nginx";
|
group = "nginx";
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
openssh.authorizedKeys.keys = [ ident config.krebs.users.makefu.pubkey ];
|
openssh.authorizedKeys.keys = [ ident config.krebs.users.makefu.pubkey ];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.logrotate = {
|
services.logrotate = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = ''
|
config = ''
|
||||||
@ -41,6 +43,7 @@ in {
|
|||||||
systemd.services.nginx.serviceConfig.ReadWritePaths = [
|
systemd.services.nginx.serviceConfig.ReadWritePaths = [
|
||||||
"/var/spool/nginx/logs/"
|
"/var/spool/nginx/logs/"
|
||||||
];
|
];
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
appendHttpConfig = ''
|
appendHttpConfig = ''
|
||||||
types {
|
types {
|
||||||
@ -60,15 +63,4 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
environment.etc."netdata/python.d/web_log.conf".text = ''
|
|
||||||
nginx_log3:
|
|
||||||
name: 'nginx'
|
|
||||||
path: '/var/spool/nginx/logs/access.log'
|
|
||||||
nginx_log4:
|
|
||||||
name: 'bgt'
|
|
||||||
path: '${bgtaccess}'
|
|
||||||
'';
|
|
||||||
|
|
||||||
users.users.netdata.extraGroups = [ "nginx" ];
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user