{"uid":"cap_yDEyF8Vvs-_EzZ8xptlEv","slug":"strale-nginx-config-generator-f830b88f","name":"Strale Nginx Config Generator","description":"Generate production nginx server blocks with SSL, proxy_pass, WebSocket support, security headers, gzip, rate limiting.","url":"https://api.strale.io/x402/v2/nginx-config-generate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["domain"],"properties":{"ssl":{"type":"boolean"},"gzip":{"type":"boolean"},"domain":{"type":"string"},"rate_limit":{"type":"integer"},"www_redirect":{"type":"boolean"},"upstream_port":{"type":"integer"}}},"responseSchema":{"notes":{"type":"array"},"config":{"type":"string"},"features_enabled":{"type":"array"},"security_headers_included":{"type":"array"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.054","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.054/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_je8SAaJCe0Ui-hwSv_kCH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates an nginx server configuration file for a given domain, with options for SSL, gzip, rate limiting, www redirect, and upstream port.","exampleAgentPrompt":"Generate an nginx config for api.mycompany.com with SSL enabled, gzip on, www redirect, rate limiting set to 100 requests per second, and proxying to upstream port 8080.","exampleUseCases":[{"title":"SSL-enabled nginx site setup","prompt":"Can you generate an nginx config for shop.example.com with SSL turned on, gzip compression enabled, and a www-to-non-www redirect?"},{"title":"Rate-limited reverse proxy config","prompt":"I need an nginx config for my API domain api.myapp.io that rate-limits to 200 requests per second and proxies traffic to my backend running on port 3000."},{"title":"Basic nginx server block scaffold","prompt":"Create a plain nginx server block config for staging.mysite.com — no SSL yet, no gzip, just a simple setup proxying to port 5000."}],"resultDescription":"Returns a ready-to-use nginx server configuration file (or configuration block) tailored to the specified domain and options, including SSL directives, gzip settings, rate limit zones, www-to-non-www redirect rules, and upstream proxy configuration as requested.","failureModes":["Missing required 'domain' query parameter returns a validation error","Invalid domain format may produce a malformed config or error","Unsupported HTTP method (only GET/HEAD/DELETE accepted) returns 405","Payment failure or insufficient USDC balance returns 402","Upstream port out of valid range may cause an error or default behavior"],"whenToPreferThis":"Choose this endpoint when you need to programmatically generate nginx server configuration files for one or more domains without manually writing nginx syntax. It is ideal for DevOps automation pipelines, agent-driven infrastructure provisioning, or any scenario where you need a correct, auditable nginx config on demand with flexible options for SSL, gzip, rate limiting, and upstream proxying.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T18:53:24.439Z","isFirstParty":false,"canonicalSlug":"strale-nginx-config-generator-f830b88f"}