ingress: simplify
This commit is contained in:
parent
fbb3884760
commit
e9456309ee
1 changed files with 5 additions and 5 deletions
|
@ -44,11 +44,11 @@
|
|||
enableACME = true;
|
||||
};
|
||||
|
||||
virtualHosts = map (x:
|
||||
lib.nameValuePair
|
||||
x.host
|
||||
({ locations."/".proxyPass = x.target; } // proxyConfig // x.extra)
|
||||
) routes;
|
||||
virtualHosts = {
|
||||
"m.la.mekanoe.com" = {
|
||||
location."/".proxyPass = tsHost "lab-alpha";
|
||||
} // proxyConfig;
|
||||
};
|
||||
in {
|
||||
imports = [
|
||||
../../templates/proxmox-lxc.nix
|
||||
|
|
Loading…
Add table
Reference in a new issue