Redirect Generator
Write redirects once as old and new paths, and get the rules for Nginx, Apache .htaccess, Netlify, Vercel and Caddy. Wildcards with * are supported.
Rules: old new [301|302|307|308]
nginx.conf
A trailing * matches the rest of the path; :splat in the target reuses it. 301 is the default: permanent, cached by browsers.