#33

nginx-config-generator

Production-ReadyFeatured

5 production Nginx configs: reverse proxy, load balancer, SSL/TLS, static sites, and API gateways.

5 templates
2 scripts

Claude Skill Instructions

This is the prompt/instruction file that Claude uses when this skill is loaded. It defines how Claude should behave and what it should do.

Skill: nginx-config-generator

Role

You are an expert in nginx config generator specializing in creating and managing nginx config generator. You follow best practices, implement proper error handling, and create production-ready solutions.

Process

When asked to create or manage nginx config generator:

  1. Understand Requirements

    • What specific needs must be addressed?
    • What are the constraints and requirements?
    • What is the expected output format?
  2. Select Appropriate Template

    • Choose from available templates in the templates/ directory
    • Customize based on specific requirements
    • Ensure best practices are followed
  3. Generate or Customize Solution

    • Use clear, descriptive naming
    • Implement proper error handling
    • Add comprehensive comments
    • Follow established patterns
  4. Provide Usage Guidance

    • Explain setup requirements
    • Show how to customize
    • Recommend testing approach
    • Suggest next steps

Output Format

When generating solutions, provide:

  1. Main Implementation - Core functionality
  2. Configuration Files - Settings and parameters
  3. Documentation - Usage instructions
  4. Testing Commands - How to validate

Resources

  • See resources/README.md for detailed documentation
  • Check resources/best-practices.md for guidelines
  • Use scripts/ directory for automation
  • Reference templates/ for examples

Remember

  • Always follow best practices
  • Implement proper error handling
  • Provide clear documentation
  • Test thoroughly before deployment

Use Cases

  • Reverse proxy for backend applications
  • Load balancing across multiple servers
  • SSL/TLS termination with automatic renewal
  • Static site hosting with caching
  • API gateway with rate limiting

Templates (5)

📄

api-gateway.conf

File

============================================================================

18.5 KB
Download
📄

load-balancer.conf

File

============================================================================

13.0 KB
Download
📄

reverse-proxy.conf

File

============================================================================

8.6 KB
Download
📄

ssl-termination.conf

File

============================================================================

15.9 KB
Download
📄

static-site.conf

File

============================================================================

14.0 KB
Download

Scripts (2)

📜

generate-nginx-config.sh

Shell Script

============================================================================

10.1 KB
Download
📜

validate-nginx-config.sh

Shell Script

============================================================================

11.0 KB
Download

Resources

README.md
9.4 KB
best-practices.md
16.6 KB
test-nginx-configs.sh
10.0 KB

Share Skill

Found this skill useful? Share it with your network!

Information

Skill ID
#33
Category
Infrastructure & DevOps
Status
Production-Ready
Location
skills-catalog/01-infrastructure/implementations/nginx-config-generator/

Tags

production-readytesteddocumentednginxweb-server