diff --git a/src/Microsoft.Tye.Core/KubernetesManifestGenerator.cs b/src/Microsoft.Tye.Core/KubernetesManifestGenerator.cs index 5c237097..8db9d8f7 100644 --- a/src/Microsoft.Tye.Core/KubernetesManifestGenerator.cs +++ b/src/Microsoft.Tye.Core/KubernetesManifestGenerator.cs @@ -88,7 +88,7 @@ namespace Microsoft.Tye // // Therefore our rewrite-target is set to $2 - we want to make sure we have // two capture groups. - if (string.IsNullOrEmpty(ingressRule.Path)) + if (string.IsNullOrEmpty(ingressRule.Path) || ingressRule.Path == "/") { path.Add("path", "/()(.*)"); // () is an empty capture group. }