From 243c873dcaaccc7a3b1160e34263db062151e8bd Mon Sep 17 00:00:00 2001 From: Samuel Shuert Date: Sat, 11 Oct 2025 19:13:46 +0000 Subject: [PATCH] fix(pm/teal/midnight): Fix routes to midnight Change-Id: wurvtvvsnxuoptltrvvrpppkxutqwwoz if midnight is not connected to tailscale then nginx will fail to start, if we instead point to the direct IP on the local network then so long as midnight is online it will always start --- packetmix/systems/teal/cache.nix | 2 +- packetmix/systems/teal/spindle.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packetmix/systems/teal/cache.nix b/packetmix/systems/teal/cache.nix index d2614eb3..77e50f73 100644 --- a/packetmix/systems/teal/cache.nix +++ b/packetmix/systems/teal/cache.nix @@ -10,7 +10,7 @@ acmeRoot = null; locations."/" = { - proxyPass = "http://midnight:1025"; + proxyPass = "http://192.168.1.2:1025"; recommendedProxySettings = true; proxyWebsockets = true; }; diff --git a/packetmix/systems/teal/spindle.nix b/packetmix/systems/teal/spindle.nix index f75d5c16..249ed488 100644 --- a/packetmix/systems/teal/spindle.nix +++ b/packetmix/systems/teal/spindle.nix @@ -10,7 +10,7 @@ acmeRoot = null; locations."/" = { - proxyPass = "http://midnight:1024"; + proxyPass = "http://192.168.1.2:1024"; recommendedProxySettings = true; proxyWebsockets = true; }; -- 2.43.0