Nginx Location Generator
Generate nginx location blocks with reverse proxy, static file serving, or redirect configurations. Supports WebSocket proxying, CORS headers, and various redirect status codes.
How to Use Nginx Location Generator
Choose a location path and type (proxy, static, or redirect), configure the relevant settings like proxy URL or root directory, and generate a ready-to-use nginx location block with proper headers and options.
Step-by-Step Instructions
- Enter the location path (e.g. /api)
- Select the type: reverse proxy, static files, or redirect
- Configure type-specific options and enable extras like CORS
- Click Generate and copy the nginx location block
Related Tools
JSON Formatter and Validator
Format, validate, and pretty-print JSON with syntax highlighting.
Base64 Encoder and Decoder
Encode text to Base64 or decode Base64 strings back to plain text.
URL Encoder and Decoder
Encode special characters for URLs or decode percent-encoded strings.
HTML Entity Encoder and Decoder
Encode special characters as HTML entities or decode them back.