When creating ingresses that use the same path with a mix of
Exact and Prefix path types nginx-ingress-controller can
generate an NGINX config with a duplicate location:
nginx: [emerg] duplicate location "/a/" in /tmp/nginx/nginx-cfg2287376726:693
nginx: configuration file /tmp/nginx/nginx-cfg2287376726 test failed
The issue is that nginx-ingress-controller stops looking for
duplicates once it sees the same path with a different path type.