<p><strong>Traefik version 2.5.6</strong></p>
<p>I have the following ingress settings:</p>
<pre><code>apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  kubernetes.io/ingress.class: traefik
  traefik.ingress.kubernetes.io/app-root: /users
  traefik.ingress.kubernetes.io/rule-type: PathPrefixStrip

  name: users
spec:
  rules:
  - host: dev.[REDUCTED]
    http:
      paths:
      - backend:
          service:
            name: users-service
            port:
              number: 80
        path: /users
        pathType: Prefix
</code></pre>
<p>But when I call:</p>
<pre><code>curl -i http://dev.[REDUCTED]/users/THIS-SHOUD-BE-ROOT
</code></pre>
<p>I get in the pod, serving the service:</p>
<pre><code>error: GET /users/THIS-SHOUD-BE-ROOT 404
</code></pre>
<p>What can be the reason for that?</p>

<p>Try to use <a href="https://doc.traefik.io/traefik/v2.5/user-guides/crd-acme/#traefik-routers" rel="nofollow noreferrer">Traefik Routers</a> as in the example below:</p>
<pre><code>apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: users
  namespace: default
spec:
  entryPoints:
    - web
  routes:
  - match: Host(`dev.[REDUCTED]`) &amp;&amp; PathPrefix(`/users`)
    kind: Rule
    services:
    - name: users-service
      port: 80
</code></pre>
