proxy/config/endpoints/pi_tunnel.nix
2026-04-04 22:19:24 +02:00

13 lines
188 B
Nix

let
ports = [80 443 8448];
entry = port:
{
type = "forwarding";
listenPort = port;
content = {
port = 10000 + port;
};
};
in
map entry ports