Nginx Location Explainer
Paste Nginx location rules and a request path to explain which block will handle the request.
Configuration input
Match result
Normalized path/static/logo.png
Paste at least one location block to analyze matching.
Locations0
Matched rules0
Regex rules0
Warnings0
Nginx selection order
- Exact match (=) wins immediately.
- The longest ^~ prefix wins before regex checks.
- Regex locations are tested in file order, first match wins.
- If no regex wins, the longest normal prefix is used.
Decision steps
Enter a request path and at least one location block to see the decision steps.
Parsed locations
No location blocks were parsed.
Selected block
No location block selected yet.