livecdn: add nginx statuspage for netdata

closes !3

commit c7fead272d8777568a1a2bc9d5c9eb60edc7079b
Author: Lukas Schulz <lukas.schulz@simiworld.de>
Date:   Sun Nov 29 15:30:47 2020 +0100

    removed false };

commit a6ea75a6d295846aeef96053caf28281d88af6b0
Author: Lukas Schulz <lukas.schulz@simiworld.de>
Date:   Sun Nov 29 15:28:57 2020 +0100

    moved stuff to common.nix

commit 8e2815884ae6e550547594a71a206dd023fe042d
Author: Lukas Schulz <lukas.schulz@simiworld.de>
Date:   Sun Nov 29 15:17:25 2020 +0100

    added nginx statuspage for netdata to find

Signed-off-by: hexchen <hexchen@lilwit.ch>
This commit is contained in:
Lukas Schulz 2020-11-29 15:32:54 +00:00 committed by hexchen
parent 084345f101
commit e790e89057

View file

@ -8,6 +8,10 @@
services.netdata = {
enable = true;
configText = ''
[global]
dbengine multihost disk space = 2307
'';
};
# Enable nginx service
@ -45,6 +49,12 @@
gzip_types *;
'';
};
"/nginx_status" = {
extraConfig = ''
stub_status;
auth_basic off;
'';
};
};
};
};