<p>I have two services with the names <code>svc1</code> and <code>svc2</code>. Can I make ingress dispatch the same domain with different base URLs to each service, i.e.:</p>
<p><code>ingress.domain/svc1/path-here</code> -&gt; svc1 gets this request, with path rewritten as <code>/path-here</code></p>
<p><code>ingress.domain/svc2/path-here</code> -&gt; svc2 gets this request, with path rewritten as <code>/path-here</code></p>
<p>So I can use one domain for all services on this k8s instance?</p>

<p>you can do something like</p>
<pre><code>apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    cert-manager.io/cluster-issuer: public-dev
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/proxy-body-size: 50m
    nginx.ingress.kubernetes.io/proxy-read-timeout: &quot;1800&quot;
    nginx.ingress.kubernetes.io/proxy-send-timeout: &quot;1800&quot;
    nginx.ingress.kubernetes.io/rewrite-target: /$2
  name: public-ingress
spec:
  rules:
  - host: developer.example.com
    http:
      paths:
      - backend:
          serviceName: test-service
          servicePort: 80
        path: /test-service(/|$)(.*)
      - backend:
          serviceName: test-service-2
          servicePort: 80
        path: /test-service-2(/|$)(.*)
  tls:
  - hosts:
    - developer.example.com
    secretName: public-dev
</code></pre>
