From d6fc70612a017a2927c863cc1f150fff97934d9a Mon Sep 17 00:00:00 2001 From: Cilly Leang Date: Wed, 17 Jun 2026 01:02:59 +1000 Subject: [PATCH] containers/fluorite: use tun address for proxy --- containers/fluorite/flake.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/containers/fluorite/flake.nix b/containers/fluorite/flake.nix index eee70b1..4fadd89 100644 --- a/containers/fluorite/flake.nix +++ b/containers/fluorite/flake.nix @@ -16,6 +16,8 @@ host4 = subnet4 1; client4 = subnet4 2; + clientTun = "100.67.2.101"; + modules = [ ./configuration.nix { @@ -45,7 +47,7 @@ services.nginx.virtualHosts."${fqdn}" = { useACMEHost = "lava.moe"; forceSSL = true; - locations."/".proxyPass = "http://[${client}]:5030"; + locations."/".proxyPass = "http://[${clientTun}]:5030"; listenAddresses = listenAddr; }; @@ -53,7 +55,7 @@ services.nginx.virtualHosts."${altfqdn}" = { useACMEHost = hostfqdn; forceSSL = true; - locations."/".proxyPass = "http://[${client}]:5030"; + locations."/".proxyPass = "http://[${clientTun}]:5030"; listenAddresses = listenAddr; };