Test
This commit is contained in:
parent
30bc4bf2df
commit
f6e979f5f1
1 changed files with 12 additions and 0 deletions
|
@ -73,6 +73,18 @@
|
||||||
|
|
||||||
services.xinetd = {
|
services.xinetd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
services = [
|
||||||
|
{
|
||||||
|
name = "http";
|
||||||
|
server = "/usr/bin/env";
|
||||||
|
extraConfig = "redirect = 10.100.0.2 80";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "https";
|
||||||
|
server = "/usr/bin/env";
|
||||||
|
extraConfig = "redirect = 10.100.0.2 443";
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.nat = {
|
networking.nat = {
|
||||||
|
|
Loading…
Reference in a new issue