summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/stats/netdata-server.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/stats/netdata-server.nix')
-rw-r--r--makefu/2configs/stats/netdata-server.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/makefu/2configs/stats/netdata-server.nix b/makefu/2configs/stats/netdata-server.nix
new file mode 100644
index 000000000..5fec3583c
--- /dev/null
+++ b/makefu/2configs/stats/netdata-server.nix
@@ -0,0 +1,17 @@
+{
+ makefu.netdata = {
+ enable = true;
+ stream.role = "master";
+ };
+
+ services.nginx = {
+ virtualHosts."netdata.euer.krebsco.de" = {
+ addSSL = true;
+ enableACME = true;
+ locations."/".proxyPass = "http://localhost:19999";
+ };
+ virtualHosts."netdata.makefu.r" = {
+ locations."/".proxyPass = "http://localhost:19999";
+ };
+ };
+}