modified setup.nix so that the proxy functions take cfg
This commit is contained in:
@@ -12,9 +12,7 @@ in
|
||||
group = "piracy";
|
||||
openFirewall = (!cfg.isLocal);
|
||||
};
|
||||
nginx.virtualHosts."${cfg.host}" = lib.mkIf cfg.enableProxy (
|
||||
setup.proxyReverseFix cfg.hostName cfg.port // { }
|
||||
);
|
||||
nginx.virtualHosts."${cfg.host}" = lib.mkIf cfg.enableProxy (setup.proxyReverseFix cfg // { });
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user