Nginx Config Generator Tool - CodeSwordsman

CodeSwordsman Nginx Visual Config Generator is a powerful online visual tool supporting dual modes: global config (nginx.conf) and site config (vhost.conf). Compatible with Nginx 1.15/1.24/1.28/1.30/1.31 multiple versions. Provides complete configuration options including worker processes, events, HTTP, Gzip compression, SSL certificates, security headers. Supports advanced features like reverse proxy, load balancing, static caching, PHP-FPM, SPA deployment, WebSocket, hotlink protection, CORS. Real-time code preview, auto-save history, one-click copy and download, completely free with no installation required.

Nginx Config Visual Editor

Server Hardware Configuration

Current Version: 1.24

Basic Global

Set worker process count, recommend auto

Set max file descriptor limit

Set Nginx running user

Events Block

Set max connections per worker

use epoll

Enable epoll event model (Linux recommended)

multi_accept

Enable accepting multiple connections at once

HTTP Global

sendfile

Enable sendfile zero-copy transfer

tcp_nopush

Enable TCP_NOPUSH to optimize packets

tcp_nodelay

Disable Nagle algorithm to reduce latency

Set keep-alive connection timeout (seconds)

Set max client request body size

server_tokens

Hide Nginx version information

Gzip Compression

Gzip Enabled

Enable Gzip compression feature

Set compression level (1-9)

Set MIME types to compress

Log Settings

Set access log file path

Set error log file path

SSL/TLS Session Configuration

Set SSL session cache type and size, e.g., shared:SSL:10m

Time clients can reuse session parameters

SSL Session Tickets

Enable SSL session tickets for session resumption

Security Headers Configuration

Prevent clickjacking attacks, recommended values: DENY or SAMEORIGIN

X-Content-Type-Options

Prevent MIME type sniffing attacks

X-XSS-Protection

Enable browser XSS filter

Control referrer header information sending policy

Content security policy to prevent XSS and data injection attacks

Control browser feature permissions

nginx.conf

Other Tools

This website uses cookies to ensure you get the best experience on our website. Privacy Policy.