Tạo cấu hình Nginx
Tạo server block Nginx với SSL, reverse proxy, gzip, security headers, CORS và rate limiting
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.
Tiếp tục khám phá
Công cụ Công cụ Developer khác bạn có thể thích…
Định dạng JSON
Định dạng, kiểm tra và nén JSON với tô sáng cú pháp và phát hiện lỗi
Mã hóa/Giải mã Base64
Mã hóa văn bản hoặc file sang Base64 và giải mã chuỗi Base64 thành văn bản
Mã hóa/Giải mã URL
Mã hóa và giải mã thành phần URL và tham số query string
Tạo UUID
Tạo UUID ngẫu nhiên (v1, v4) hoặc tạo hàng loạt nhiều UUID cùng lúc
Tạo Hash
Tạo hash MD5, SHA-1, SHA-256, SHA-512 từ văn bản hoặc file
Kiểm tra Regex
Kiểm tra biểu thức chính quy với tô sáng khớp thời gian thực và trích xuất nhóm
Giải mã JWT
Giải mã và kiểm tra JSON Web Token — xem header, payload và xác minh chữ ký
Định dạng HTML
Định dạng và làm đẹp mã HTML với thụt lề đúng và tô sáng cú pháp