diff options
author | makefu <github@syntax-fehler.de> | 2020-11-18 19:37:33 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2020-11-18 19:37:33 +0100 |
commit | 265149d4a3d5991d03d3fb4e22e0aed70469b54d (patch) | |
tree | f45e3724bb313bdde840580d13c61d926b4bdd13 /2configs/bgt | |
parent | 1010bd068c9e7228da0c450e223b178029c127a3 (diff) |
ma bgt/download: remove obsolete netdata entry
Diffstat (limited to '2configs/bgt')
-rw-r--r-- | 2configs/bgt/download.binaergewitter.de.nix | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/2configs/bgt/download.binaergewitter.de.nix b/2configs/bgt/download.binaergewitter.de.nix index e3be6778f..4abc7d345 100644 --- a/2configs/bgt/download.binaergewitter.de.nix +++ b/2configs/bgt/download.binaergewitter.de.nix @@ -17,12 +17,14 @@ in { PasswordAuthentication no ''; }; + users.users.auphonic = { uid = genid "auphonic"; group = "nginx"; useDefaultShell = true; openssh.authorizedKeys.keys = [ ident config.krebs.users.makefu.pubkey ]; }; + services.logrotate = { enable = true; config = '' @@ -41,6 +43,7 @@ in { systemd.services.nginx.serviceConfig.ReadWritePaths = [ "/var/spool/nginx/logs/" ]; + services.nginx = { appendHttpConfig = '' 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" ]; - } |