service -> server
This commit is contained in:
parent
1ac5d81fc3
commit
fd683bb7e6
|
@ -194,7 +194,7 @@ in {
|
||||||
genService = { name, port, protocols ? [ "tcp" ] }:
|
genService = { name, port, protocols ? [ "tcp" ] }:
|
||||||
map (protocol: {
|
map (protocol: {
|
||||||
inherit name;
|
inherit name;
|
||||||
service = "/usr/bin/env";
|
server = "/usr/bin/env";
|
||||||
extraConfig = "redirect = 127.0.0.1 ${toString port}";
|
extraConfig = "redirect = 127.0.0.1 ${toString port}";
|
||||||
}) protocols;
|
}) protocols;
|
||||||
in concatMap genService [
|
in concatMap genService [
|
||||||
|
|
Loading…
Reference in New Issue