nginx-gateway-fabric icon indicating copy to clipboard operation
nginx-gateway-fabric copied to clipboard

Regex for path matching: RegularExpression

Open omegion opened this issue 9 months ago • 1 comments
trafficstars

Hi,

It seems NGF does not yet support RegularExpression for path matching. I wonder if there is any way for me to move this NGINX location to HTTPRoute with the current features:

location ~* ^/foo-service/workspaces/\w+(-\w+)?/environments/ {
  //
}

I could not figure out how I could match this path with HTTPRoute. Do you have any ideas?

omegion avatar Feb 08 '25 19:02 omegion