13 lines
188 B
Nix
13 lines
188 B
Nix
let
|
|
ports = [80 443 8448];
|
|
entry = port:
|
|
{
|
|
type = "forwarding";
|
|
listenPort = port;
|
|
content = {
|
|
port = 10000 + port;
|
|
};
|
|
};
|
|
|
|
in
|
|
map entry ports
|