From 68852681f7e00953ca2010f9d6c010504315f478 Mon Sep 17 00:00:00 2001 From: xinyangli Date: Mon, 2 Dec 2024 16:30:49 +0800 Subject: [PATCH] minor fix --- machines/biotite/services/gotosocial.nix | 3 +-- machines/thorite/monitoring.nix | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/machines/biotite/services/gotosocial.nix b/machines/biotite/services/gotosocial.nix index 743b3f7..fb26a69 100644 --- a/machines/biotite/services/gotosocial.nix +++ b/machines/biotite/services/gotosocial.nix @@ -32,8 +32,7 @@ services.caddy = { virtualHosts."https://gts.xiny.li".extraConfig = '' - encode zstd gzip - reverse_proxy * http://${config.services.gotosocial.settings.bind-address}:${toString config.services.gotosocial.settings.port} { + reverse_proxy http://${config.services.gotosocial.settings.bind-address}:${toString config.services.gotosocial.settings.port} { flush_interval -1 } ''; diff --git a/machines/thorite/monitoring.nix b/machines/thorite/monitoring.nix index bc10492..ac6586f 100644 --- a/machines/thorite/monitoring.nix +++ b/machines/thorite/monitoring.nix @@ -70,6 +70,11 @@ with my-lib; name = "grafana-eu"; address = "grafana.xinyang.life"; } + { + name = "loki"; + address = "thorite.coho-tet.ts.net"; + port = 3100; + } ]) ++ (mkCaddyScrapes [ { address = "thorite.coho-tet.ts.net"; }