Nginx Server Block Generator
Generate an nginx server block (virtual host) from structured inputs — server name and aliases, listen port, static-file or reverse-proxy mode, SSL/TLS with HTTP→HTTPS redirect and HSTS, gzip compression, client_max_body_size, and access/error log paths. Runs entirely in your browser.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Server Name
Aliases
Listen Port
1 <= x <= 65535Mode
static, proxy Document Root
Index Files
Upstream URL
Forward WebSocket headers (Upgrade / Connection)
Enable SSL (HTTPS)
Certificate Path
Private Key Path
Enable HTTP/2
Add HTTP → HTTPS redirect block
Send HSTS header (Strict-Transport-Security)
Enable gzip compression
Client Max Body Size
Access Log
Error Log
Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.