<p>I have two services, web-service is running on port 80 and admin-service is running on port 8000. I'd like all http /admin requests to be proxied to admin-service:8000 and all other requests to go to web-service:80. I've tried the configuration below but it doesn't seem to work. I'm also using Google Kubernetes Engine.</p>

<pre><code>apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: ingress-rules
  annotations:
    kubernetes.io/ingress.class: "nginx"
    nginx.org/redirect-to-https: "True"
spec:
  tls:
  - secretName: tls-secret
  rules:
  - http:
      paths:
      - path: /admin
        backend:
          serviceName: admin-service
          servicePort: 8000
      - path: /
        backend:
          serviceName: web-service
          servicePort: 80
</code></pre>

<p>Any idea what I might be doing wrong?</p>

<p>looks good, but... does your admin service respond to <code>GET /admin</code> ? cause unless you use <code>ingress.kubernetes.io/rewrite-target: /</code> annotation on your ingress, you need to support the URI in your backing service</p>
