Nginx Config Generator
Generate production-ready Nginx configuration files for reverse proxies, load balancers, static file serving, and more.
Usage
Describe your web server requirements and this skill will generate the appropriate Nginx configuration.
Examples
- "Create an Nginx config to reverse proxy a Node.js app on port 3000"
- "Set up Nginx as a load balancer across three backend servers"
- "Configure Nginx for serving a React SPA with proper routing"
Guidelines
- Always include security headers like X-Frame-Options and CSP
- Use proper upstream blocks for load balancing
- Configure appropriate timeouts for proxy connections
- Enable gzip compression for text-based content types
- Set up proper logging with access and error logs