How to match to an empty path?

In the virtual service, I want to match an empty path.
For example, I want to have two different matches like below.

  1. empty path + headerA=valueA → backend1
  2. (prefix) / → backend2

If I configure two different matches, it seems the traffic only goes to the backend2.

Is there any way to match to empty path?

Thanks in advance.