<p>We have various Asp.net core containers with REST APIs hosted in Azure Kubernetes Service. Each REST API service implements many HTTP methods with different routes but has common base route (based on controller name).</p>

<p>Requirements is to route the request to different service based starting route value, e.g. All requests starting with “/user” route user service or products APIs requests to product service.
We have added path as "/user/* ", "/product/* " in the path section of the kubernetes ingress.
Asterisk (*) is not working</p>

sangamesh yaragol
<p>According to <a href="https://kubernetes.github.io/ingress-nginx/user-guide/ingress-path-matching/" rel="nofollow noreferrer">this</a> you need to use regex.</p>

<pre><code>path: /foo/.*
</code></pre>
