计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
configuring-load-balancers【效率与协作】Configure use when configuring load balancers including ALB, NLB, Nginx, and HAProxy. Trigger with phrases like "configure load balancer", "create ALB", "setup nginx load balancing", or "haproxy configuration". Generates production-ready configurations with health checks, SSL termination, sticky sessions, and traffic distribution rules.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
name: configuring-load-balancers description: 'Configure use when configuring load balancers including ALB, NLB, Nginx, and HAProxy. Trigger with phrases like "configure load balancer", "create ALB", "setup nginx load balancing", or "haproxy configuration". Generates production-ready configurations with health checks, SSL termination, sticky sessions, and traffic distribution rules.
' allowed-tools: Read, Write, Edit, Grep, Glob, Bash(aws:), Bash(gcloud:), Bash(nginx:*) version: 1.28.0 author: Jeremy Longshore jeremy@intentsolutions.io license: MIT tags:
Configure load balancers across AWS (ALB, NLB), GCP (HTTP(S) LB, TCP/UDP LB), Nginx, and HAProxy. Generate production-ready configurations with health checks, SSL/TLS termination, path-based and host-based routing, sticky sessions, rate limiting, and traffic distribution rules for high-availability deployments.
/health returning 200)aws, gcloud)/api -> API pool, /static -> CDN), host-based routing (api.example.com -> API)nginx -t, HAProxy config check), verify traffic distribution, and confirm failover behaviornginx.conf, site configs) with upstream blocks and server directiveshaproxy.cfg) with frontend/backend sections| Error | Cause | Solution |
|---|---|---|
502 Bad Gateway | Backend server unreachable or not responding | Verify backend IPs, ports, and firewall rules; check backend service health |
SSL certificate verify failed | Certificate expired, wrong chain, or key mismatch | Verify certificate validity and chain with openssl s_client; regenerate if needed |
Target is unhealthy | Health check endpoint returning non-200 or timing out | Verify health check path returns 200; increase timeout if backend is slow to respond |
nginx: configuration file test failed | Syntax error in Nginx configuration | Run nginx -t to identify the specific error line; fix syntax and test again |
Session persistence not working | Cookie-based stickiness misconfigured or client not sending cookies | Verify cookie name matches; use IP-based affinity as fallback for non-browser clients |
${CLAUDE_SKILL_DIR}/references/errors.md for additional error handling patterns