﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
2559	K8S ingress rule fails  to match Exact /	saffi.public@…		"Using:
│app.kubernetes.io/name: rke2-ingress-nginx                                                                                                                                                             │app.kubernetes.io/version: 1.6.4                                                                                                                                                                       │helm.sh/chart: rke2-ingress-nginx-4.5.201   
Having an ingress with:
│   rules:                                                                                                                                                                                                   
│   - http:                                                                                                                                                                                                  
│       paths:                                                                                                                                                                                               
│       - backend:                                                                                                                                                                                           
│           service:                                                                                                                                                                                         
│             name: powerflex-status-ui                                                                                                                                                                    
│             port:                                                                                                                                                                                          
│               number: 80                                                                                                                                                                                   
│         path: /                                                                                                                                                                                         
│         pathType: Exact                              

When calling:
  curl  -k  -H 'Cache-Control: no-cache, no-store' -I https://100.68.80.54/
HTTP/2 404

It worked with an older version. We have a workaround, adding $ to the expression.

│   rules:                                                                                                                                                                                                   
│   - http:                                                                                                                                                                                                  
│       paths:                                                                                                                                                                                               
│       - backend:                                                                                                                                                                                           
│           service:                                                                                                                                                                                         
│             name: powerflex-status-ui                                                                                                                                                                    
│             port:                                                                                                                                                                                          
│               number: 80                                                                                                                                                                                   
│         path: /$                                                                                                                                                                                         
│         pathType: Exact   

That one seems identical but it works - getting http 200"	defect	closed	minor		other	1.25.x	invalid	ingress Exact path		"Linux rke2-ingress-nginx-controller-8tj7j 5.3.18-150300.59.106-default #1 SMP Mon Dec 12 13:16:24 UTC 2022 (774239c) x86_64 x86_64 x86_64 GNU/Linux
"	"nginx version: nginx/1.21.4
"
