Deploying Quarkus Apps with Kubernetes
Try to change this:
nginx.ingress.kubernetes.io/rewrite-target: "/$1"
and this:
- path: /rest-json/(.+)
and then access: http://localhost/rest-json/fruits.html
Here you can see more about ingress path matching.