Nginx Rewrite & Redirect Rule Generator
Generate nginx location blocks for 301/302 redirects, internal rewrites (last/break) with regex capture groups, or reverse-proxy rules — with built-in redirect-loop detection.
Try Nginx Rewrite & Redirect Rule Generator in your browser →
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.