containers/fluorite: use tun address for proxy
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
Some checks are pending
CI / Build linux-lava for x86_64-linux (push) Waiting to run
This commit is contained in:
parent
003b6c277b
commit
d6fc70612a
1 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue