forked from hacc/haccfiles
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:
parent
084345f101
commit
e790e89057
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue