Rule
^~ /api/ vs /api/users
Result
Matched (prefix beats regex)
Developer Tools
Test Nginx location modifiers and URI patterns against request paths locally in your browser. Covers exact, prefix, regex, and ^~ cases—useful when debugging routes stolen by the wrong location block.
Favorite this tool
No favorite storage mode has been selected.
Quick actions
Copy this tool URL or open the system share sheet on a supported device.
开发工具
Test Nginx location modifiers and URI patterns against request paths locally in your browser. Covers exact, prefix, regex, and ^~ cases—useful when debugging routes stolen by the wrong location block.
Rule
^~ /api/ vs /api/users
Result
Matched (prefix beats regex)
Not fully. It focuses on location matching, not upstream chains, rewrites, or full config parsing.
Tests focus on the path portion. Query strings after ? are typically ignored for location matching.
Tools
Continue with another translated tool for a nearby task.
Nginx Config Generator
Generate Nginx server blocks from form options, including reverse proxy, WebSocket, SSL, Gzip, and basic security headers. Copy or download conf files for static sites and app reverse-proxy starters.
DNS Zone Builder
Build DNS zone files with SOA, $ORIGIN, $TTL, and A, AAAA, CNAME, TXT, and other records in your browser. Useful for preparing zone files for BIND, CoreDNS, and similar servers.
Regex Explainer
Test regular expressions locally in your browser, highlight matches, and catch compile errors. Useful when debugging email, IP, or custom extractors without pasting unknown patterns blindly.