diff --git a/nixos/hosts/osaka-vultr-01/default.nix b/nixos/hosts/osaka-vultr-01/default.nix index 6380dbbe..834afcc1 100644 --- a/nixos/hosts/osaka-vultr-01/default.nix +++ b/nixos/hosts/osaka-vultr-01/default.nix @@ -73,6 +73,18 @@ services.xinetd = { 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 = {