Nginx Configurator
CautionGenerates optimized Nginx configurations for reverse proxy, load balancing, SSL termination, caching, and security hardening.
Install
Claude Code
Copy the SKILL.md file to your project's .claude/skills/ directory About This Skill
Nginx Configurator generates production-ready Nginx configurations tailored to your application architecture. Whether you need a simple reverse proxy, a complex load balancer, or a security-hardened web server, this skill produces configurations following Mozilla's recommended security guidelines.
How It Works
- Architecture assessment — Understands your upstream services, domains, and traffic patterns
- Config generation — Produces server blocks, upstream definitions, and location rules
- SSL configuration — Sets up TLS 1.2/1.3 with strong cipher suites and OCSP stapling
- Performance tuning — Configures worker processes, connection limits, buffer sizes, and caching
- Security hardening — Adds headers like X-Frame-Options, CSP, and rate limiting
Best For
- Setting up reverse proxy for Docker or Kubernetes services
- Migrating from Apache to Nginx
- Hardening existing Nginx configs against OWASP Top 10
- Configuring WebSocket proxying and HTTP/2
Output Format
Generates separate files for main config, site configs, and upstream definitions. Includes comments explaining each directive for team knowledge sharing.
Use Cases
- Configure reverse proxy for microservices architecture
- Set up SSL/TLS with Let's Encrypt and HSTS
- Optimize caching headers and gzip compression
- Create rate limiting and IP allowlist rules
Pros & Cons
Pros
- + Follows Mozilla SSL Configuration Generator best practices
- + Generates well-commented configs for team readability
- + Covers reverse proxy, load balancing, and caching patterns
Cons
- - Cannot test configs against a running Nginx instance
- - Advanced modules like ModSecurity need manual setup
Related AI Tools
Related Skills
Kubernetes Deployer
CautionGenerates and validates Kubernetes manifests, Helm charts, and deployment strategies including rolling updates, canary, and blue-green deployments.
CORS Auditor
CautionValidates Cross-Origin Resource Sharing (CORS) and Content Security Policy (CSP) configurations to prevent data leakage and cross-origin attacks.
Stay Updated on Agent Skills
Get weekly curated skills + safety alerts
每周精选 Skills + 安全预警