From aeb76ef4125f621cad11acf3e5d6b97cfac9d28a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 13 Sep 2023 09:53:19 +0200 Subject: nixos: redirect logging to cynerd.cz --- nixos/machine/lipwig.nix | 1 + nixos/machine/spt-mox.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'nixos/machine') diff --git a/nixos/machine/lipwig.nix b/nixos/machine/lipwig.nix index f235455..042ee27 100644 --- a/nixos/machine/lipwig.nix +++ b/nixos/machine/lipwig.nix @@ -60,6 +60,7 @@ with lib; { useACMEHost = "cynerd.cz"; locations."/" = { proxyPass = "http://127.0.0.1:${toString config.services.grafana.settings.server.http_port}/"; + extraConfig = "proxy_set_header Host $host;"; proxyWebsockets = true; }; }; diff --git a/nixos/machine/spt-mox.nix b/nixos/machine/spt-mox.nix index accd963..7dc74fa 100644 --- a/nixos/machine/spt-mox.nix +++ b/nixos/machine/spt-mox.nix @@ -10,7 +10,7 @@ with lib; { cynerd = { home-assistant = true; wifiAP.spt = { - enable = true; + enable = false; qca988x = { interface = "wls1"; channel = 7; -- cgit v1.2.3