Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Nginx Load Balancer Configurator

    1

    Generate production-grade Nginx load balancer configs with SSL, rate limiting, and optimized upstream pools.

    $15

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Nginx Load Balancer Configurator

    Nginx Load Balancer Configurator

    Example session with this skill installed

    Generate an Nginx config for a load balancer with three backends (10.0.0.1-3) using least_conn, SSL termination, and rate limiting for 10 requests per second.

    • Read your context and instructions
    • Compiled the nginx load balancer

    I have generated a production-ready Nginx configuration featuring a least-connection upstream pool, hardened SSL settings, and request rate limiting. ## nginx.conf deliverable ```nginx # Optimized Nginx Load Balancer Configuration worker_processes auto; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; # Rate Limiting Zone: 10 requests per second limit_req_zone $binary_remote_addr zone=mylimit:10m rate=10r/s; upstream backend_servers { least_conn; server 10.0.0.1:8080 max_fails=3 fail_timeout=30s; server 10.0.0.2:8080 max_fails=3 fail_timeout=30s; server 10.0.0.3:8080 max_fails=3 fail_timeout=30s; } server { listen 443 ssl http2; server_name example.com; # SSL Configuration - Mozilla Intermediate ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; ssl_session_timeout 1d; ssl_session_cache shared:SSL:50m; ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384; # HSTS add_header Strict-Transport-Security "max-age=63072000" always; location / { limit_req zone=mylimit burst=20 nodelay; proxy_pass http://backend_servers; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } } } ``` **Next steps** 1. Replace placeholder SSL certificate paths with your actual `.pem` locations. 2. Test the configuration syntax locally using `nginx -t -c ./nginx.conf`. 3. Deploy the file to your production `/etc/nginx/` directory and reload the service.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Misconfigured load balancers lead to dropped packets, security vulnerabilities, and uneven server strain. This skill provides production-ready Nginx configurations tailored for high-performance traffic management and security. ## What it does - **Upstream Management** defines server pools with round-robin, least-connection, or IP-hash algorithms. - **SSL/TLS Termination** implements Mozilla intermediate cipher suites, HSTS, and OCSP stapling. - **Traffic Shaping** configures request and connection rate limiting to mitigate flood attacks. - **Performance Tuning** optimizes worker processes, buffer sizes, and compression settings. - **Header Forwarding** ensures correct proxy header handling for downstream application logic. ## How it works 1. **Define Architecture** by specifying backend server nodes and the preferred balancing method. 2. **Apply Security Layers** including SSL certificate paths and rate-limiting thresholds. 3. **Generate Configuration** to produce a complete, valid `nginx.conf` file within your project workspace. 4. **Validate Output** against best practices for proxy headers and gzip/brotli compression. ## Frameworks & tools This skill generates standard Nginx configuration syntax compatible with Nginx Open Source and Nginx Plus. It follows modern security standards for TLS and supports proxying to any HTTP-based backend. ## Why this beats prompting it yourself Generic prompts often skip critical performance headers or use outdated, insecure SSL ciphers. This skill enforces strict security guardrails and uses deterministic workflows to ensure upstream health checks and rate limits are correctly declared. ## Use cases - Setting up a reverse proxy for a microservices architecture. - Migrating from simple round-robin to session-persistent IP-hash balancing. - Hardening an entry point against DDoS using `limit_req` zones. - Configuring edge-case optimizations like Brotli compression and OCSP stapling. ## Known limitations This skill only writes configuration files to the local workspace. It does not possess permissions to reload the Nginx service, install system packages, or access root-level `/etc/nginx` directories directly.

    Operates only within the local workspace. No system-level access to reload services or modify /etc/nginx. Does not install Nginx binaries.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 4 days ago

    Requires

    File System Read/Write (strictly scoped to current project workspace `./`).
    Zero global installation or elevated privileges required.

    Permissions

    Read Files

    Target Use Cases: - Generate an Nginx reverse proxy configuration with load balancing. - Configure SSL termination and rate limiting in Nginx. - Write a production nginx.conf for high traffic microservices.

    Listed4 days ago

    What's inside

    Frequently Asked Questions

    The skill generates a complete, production-ready Nginx configuration file tailored to your specific backend architecture, including upstream pools, SSL hardening, and traffic-shaping rules. It solves the risk of manual configuration errors that lead to security vulnerabilities or uneven server load.

    This skill is designed for use within AI agent platforms that support file system access to a project workspace. It generates standard Nginx syntax compatible with both Nginx Open Source and Nginx Plus environments.

    Due to security best practices, the skill writes files to your local workspace rather than the system's root directory. You will need to manually move the generated config to your `/etc/nginx` folder and execute the reload command to apply the changes.

    Yes, the skill can implement session persistence using the IP-hash algorithm. This ensures that a specific client is consistently routed to the same backend server, which is essential for stateful applications.

    The skill follows the Mozilla Intermediate SSL/TLS compatibility standards by default. This includes modern cipher suites, HSTS headers, and OCSP stapling to ensure your load balancer meets current security benchmarks.

    New in DevOps & Cloud