Auto add "/" to url when use traefik rewrite

I use the rewrite function of traefik to redirect url path to / . The traefik config :

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    app.protocol: http
    customer/ingress-domain: http://example.com
    customer/rewrite-path: /
    traefik.ingress.kubernetes.io/rule-type: PathPrefixStrip
spec:
  rules:
  - host: example.com
    http:
      paths:
      - backend:
          serviceName: test-web
          servicePort: 8080
        path: /tech/TQATaskFrontend
status:
  loadBalancer: {}

and I excute curl http://example/tech/TQATaskFrontend, It returens:

{"timestamp":"2022-02-23 11:22:57","status":404,"error":"Not Found","message":"No message available","path":"/tech/TQA/TaskFrontend/"}

the path TQATaskFrontend is auto added a "/" between "A" and "T"

What is the reason for this?

hello @wayne-beep

Based on the annotation name I notice that you are still using Traefik V1. Is there any specific reason why you are still on V1? Before diving into technical questions I would like to encourage you to consider migration to Traefik Proxy V2 . The 2.6.1 is the latest version.

Can you also please elaborate more on what is the meaning of other annotations?

Thank you,