From e790e890577aadbfd645b0772c93b334c78abda8 Mon Sep 17 00:00:00 2001 From: Lukas Schulz Date: Sun, 29 Nov 2020 15:32:54 +0000 Subject: [PATCH] livecdn: add nginx statuspage for netdata closes !3 commit c7fead272d8777568a1a2bc9d5c9eb60edc7079b Author: Lukas Schulz Date: Sun Nov 29 15:30:47 2020 +0100 removed false }; commit a6ea75a6d295846aeef96053caf28281d88af6b0 Author: Lukas Schulz Date: Sun Nov 29 15:28:57 2020 +0100 moved stuff to common.nix commit 8e2815884ae6e550547594a71a206dd023fe042d Author: Lukas Schulz Date: Sun Nov 29 15:17:25 2020 +0100 added nginx statuspage for netdata to find Signed-off-by: hexchen --- configuration/server/cdn/common.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configuration/server/cdn/common.nix b/configuration/server/cdn/common.nix index 4952783..4fbff56 100644 --- a/configuration/server/cdn/common.nix +++ b/configuration/server/cdn/common.nix @@ -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; + ''; + }; }; }; };