fix(pm/teal/midnight): Fix routes to midnight #94

merged
opened by thecoded.prof targeting main from private/coded/push-wurvtvvsnxuo

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

Changed files
+2 -2
packetmix
systems
+1 -1
packetmix/systems/teal/cache.nix
··· 10 10 acmeRoot = null; 11 11 12 12 locations."/" = { 13 - proxyPass = "http://midnight:1025"; 13 + proxyPass = "http://192.168.1.1:1025"; 14 14 recommendedProxySettings = true; 15 15 proxyWebsockets = true; 16 16 };
+1 -1
packetmix/systems/teal/spindle.nix
··· 10 10 acmeRoot = null; 11 11 12 12 locations."/" = { 13 - proxyPass = "http://midnight:1024"; 13 + proxyPass = "http://192.168.1.1:1024"; 14 14 recommendedProxySettings = true; 15 15 proxyWebsockets = true; 16 16 };