From 87d702f4c3542efff4fa20497c4850a86303e277 Mon Sep 17 00:00:00 2001 From: nomadics9 Date: Sat, 19 Oct 2024 21:48:18 +0300 Subject: [PATCH] goaccess --- hosts/vps/configuration.nix | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/hosts/vps/configuration.nix b/hosts/vps/configuration.nix index 9f81b62..0ebaae5 100644 --- a/hosts/vps/configuration.nix +++ b/hosts/vps/configuration.nix @@ -43,7 +43,7 @@ roll_keep 5 roll_keep_for 720h } - format json + format caddy ''; # Reverse proxy configuration for each domain @@ -70,12 +70,25 @@ dot.nmd.mov { reverse_proxy localhost:19999 - log basic_auth /* { nomad $2a$12$toBh5sfXyxigtHGNY4t8tO7YYQp6i3aZk/O0qd19lgk0LRz5eqDVi } } + + + nmd.mov { + root * /var/www/goaccess + + file_server + + reverse_proxy /ws localhost:7890 + + basic_auth /* { + nomad $2a$12$toBh5sfXyxigtHGNY4t8tO7YYQp6i3aZk/O0qd19lgk0LRz5eqDVi + } + + } ''; }; services.netdata = {