moved stuff to common.nix

keep-around/a6ea75a6d295846aeef96053caf28281d88af6b0
Lukas Schulz 2020-11-29 15:28:57 +01:00
parent 8e2815884a
commit a6ea75a6d2
4 changed files with 10 additions and 17 deletions

View File

@ -13,12 +13,6 @@
auth_basic off;
'';
};
"/nginx_status" = {
extraConfig = ''
stub_status;
auth_basic off;
'';
};
};
};
appendHttpConfig = ''

View File

@ -30,12 +30,6 @@ in {
auth_basic off;
'';
};
"/nginx_status" = {
extraConfig = ''
stub_status;
auth_basic off;
'';
};
};
};
appendHttpConfig = ''

View File

@ -33,11 +33,6 @@
'';
};
"/nginx_status" = {
extraConfig = ''
stub_status;
auth_basic off;
'';
};
};
};

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;
'';
};
};
};
};