Developer Tools

Nginx Location Tester — Match Rule Validator

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.

NginxLocationRouting

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.

Use cases

  • Check whether /api/v2 is captured by a wider /api/ block
  • Compare =, ~, ~*, and ^~ behavior
  • Rehearse matches before editing live config

How to use

  1. Choose a modifier and enter the URI pattern
  2. Paste the request path to simulate
  3. Review the match result and generated location

Example input and output

Rule

^~ /api/ vs /api/users

Result

Matched (prefix beats regex)

FAQ

Can this replace a real Nginx reload test?

Not fully. It focuses on location matching, not upstream chains, rewrites, or full config parsing.

Do query strings affect matching?

Tests focus on the path portion. Query strings after ? are typically ignored for location matching.

Tools

Related tools

Continue with another translated tool for a nearby task.

Nginx Config Generator

Nginx Config Generator — Server Block Builder

Available

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.

Nginx Config Reverse Proxy

DNS Zone Builder

DNS Zone Builder — BIND Zone File Generator

Available

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.

DNS Zone BIND

Regex Explainer

Regex Explainer — Match Highlight and Validation

Available

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.

Regex Match Debug