moved stuff to common.nix

This commit is contained in:
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;
'';
};
};
};
};