diff --git a/kubenix-modules/traefik.nix b/kubenix-modules/traefik.nix index b369f4b..36f49ec 100644 --- a/kubenix-modules/traefik.nix +++ b/kubenix-modules/traefik.nix @@ -9,7 +9,23 @@ providers.kubernetesIngress.allowExternalNameServices = true; service.loadBalancerIP = myLib.globals.traefikIPv4; - ports.web.redirectTo = "websecure"; + ports = { + localsecure = { + port = 8444; + expose = true; + exposedPort = 444; + protocol = "TCP"; + + tls = { + enabled = true; + options = ""; + certResolver = ""; + domains = [ ]; + }; + }; + + web.redirectTo = "websecure"; + }; }; }; };