title: Why GKE Ingress controller gives 404 error
body: <p>We have a below code for Ingress and "/demo" app is running fine with REST API Get call response. However "/um" is not opening and its giving 404 error. UM is a front-end app built in Angular 6 and it should open an index page.</p>
  
  <p>When we expose this application as a External IP i.e. Type:LoadBalancer, then application is working fine. The same is encountering 404 when try from Ingress setup.</p>
  
  <p>Not sure what commits this issue. The below is our sample Ingress deployment file. Kindly through some insights to fix the issue.</p>
  
  <pre><code>apiVersion: extensions/v1beta1
  kind: Ingress
  metadata:
    name: myingress
  spec:
    rules:
     - http:
        paths:
        - path: /um
          backend:
            serviceName: usermanager-frontend
            servicePort: 8973
        - path: /demoapp
          backend:
            serviceName: springboot-demo
            servicePort: 7070
  </code></pre>
  
  <p>Before we where having re-write which we have removed after reading some post as this is not supported in GKE today.</p>
  
  <pre><code>metadata:
    name: usermanagement-ui
    annotations:
      nginx.ingress.kubernetes.io/rewrite-target: /um
  </code></pre>