Task: Fix nginx proxy pass URI in Named Location Block
Task: Fix nginx proxy pass URI in Named Location Block: a task in Terminal-Lego-15k (Harbor dataset). When using nginx, a proxy pass directive with a URI component (e.g., http://localhost:5000/1 ) cannot be used inside a named location block (e.g., location @test ). nginx treats named locations…
The task
When using nginx, a `proxy_pass` directive with a URI component (e.g., `http://localhost:5000/1`) cannot be used inside a named location block (e.g., `location @test`). nginx treats named locations similarly to regex locations, and the rule is: **`proxy_pass` cannot have a URI part in locations defined by named…
Part of PrimeIntellect/Terminal-Lego-15k.