livecdn: add nginx statuspage for netdata
closes !3 commitc7fead272d
Author: Lukas Schulz <lukas.schulz@simiworld.de> Date: Sun Nov 29 15:30:47 2020 +0100 removed false }; commita6ea75a6d2
Author: Lukas Schulz <lukas.schulz@simiworld.de> Date: Sun Nov 29 15:28:57 2020 +0100 moved stuff to common.nix commit8e2815884a
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