# \#load-balancing

**URL:** https://community.nginx.org/tag/load-balancing/39.md

[Latest](https://community.nginx.org/latest.md) · [Categories](https://community.nginx.org/categories.md) · [Tags](https://community.nginx.org/tags.md)

---

## [Nginx Gateway Fabric Routing Conflict: PathPrefix "/" Overriding RegularExpression Rules](https://community.nginx.org/t/nginx-gateway-fabric-routing-conflict-pathprefix-overriding-regularexpression-rules/8962)

<div class="topic-metadata">

**Author:** [@SHUCHITH](https://community.nginx.org/u/SHUCHITH)\
**Replies:** 2\
**Last updated:** [February 24, 2026, 7:07am UTC](https://community.nginx.org/t/nginx-gateway-fabric-routing-conflict-pathprefix-overriding-regularexpression-rules/8962 "2026-02-24T07:07:32Z")

</div>

My issue: Traffic meant for a RegularExpression match is being incorrectly routed to a backend associated with a PathPrefix match. Despite the regex being more “complex,” the gateway prioritizes the simple prefix rule. H…
