containers/fluorite: use tun address for proxy
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run

This commit is contained in:
Cilly Leang 2026-06-17 01:02:59 +10:00
parent 003b6c277b
commit d6fc70612a
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -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;
};