Nginx 配置生成器
生成带有 SSL、反向代理、gzip、安全标头、CORS 和限速的 Nginx 服务器块配置
Server
SSL / HTTPS
Reverse Proxy
Features
How it works
- • Configure your Nginx server block visually with toggles and inputs.
- • Supports SSL, reverse proxy, gzip, security headers, CORS, rate limiting, and more.
- • Use presets for common setups: static site, reverse proxy, or full production.
- • Copy the generated config and paste it into
/etc/nginx/sites-available/. - • Everything runs locally — no data is sent anywhere.
Nginx Config Generator
Generate Nginx server block configurations with SSL, reverse proxy, gzip, security headers, CORS, rate limiting, and static file serving. Copy the config and paste directly into your server.
Common Nginx patterns
Reverse proxy
Forward requests to a Node.js, Python, or Docker app running on localhost:3000. Includes proxy_pass, proxy_set_header, and timeout settings.
SSL / HTTPS
TLS configuration with Let's Encrypt paths, ssl_protocols TLSv1.2 TLSv1.3, strong ciphers, and HSTS header.
Gzip compression
Compress text, CSS, JS, and JSON responses — typically 60–80% size reduction for text content.
Rate limiting
Protect endpoints with limit_req_zone and limit_req — throttle API abuse or login brute-force attempts.
继续探索
您可能喜欢的其他 开发者工具…
JSON格式化工具
使用语法高亮和错误检测格式化、验证和压缩JSON
Base64编码/解码
将文本或文件编码为Base64,并将Base64字符串解码为可读文本
URL编码/解码
编码和解码URL组件和查询字符串参数
UUID生成器
生成随机UUID(v1、v4)或批量生成多个UUID
哈希生成器
从文本或文件生成MD5、SHA-1、SHA-256、SHA-512哈希
正则表达式测试器
实时匹配高亮测试正则表达式并提取分组
JWT解码器
解码和检查JSON Web Token — 查看header、payload并验证签名
HTML格式化工具
使用正确缩进和语法高亮格式化和美化HTML代码