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;
|
enableACME = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualHosts = map (x:
|
virtualHosts = {
|
||||||
lib.nameValuePair
|
"m.la.mekanoe.com" = {
|
||||||
x.host
|
location."/".proxyPass = tsHost "lab-alpha";
|
||||||
({ locations."/".proxyPass = x.target; } // proxyConfig // x.extra)
|
} // proxyConfig;
|
||||||
) routes;
|
};
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
../../templates/proxmox-lxc.nix
|
../../templates/proxmox-lxc.nix
|
||||||
|
|
Loading…
Add table
Reference in a new issue