Skip to content
Skillv1.0.0

nginx-expert

Expert-level Nginx configuration, reverse proxy, load balancing, SSL/TLS, caching, and performance tuning. Use when the user mentions web server, reverse proxy, load balancer, or SSL, or when the task

by personamanagmentlayer(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from personamanagmentlayer/pcl (stdlib/devops/nginx-expert/SKILL.md) via skills.sh. Install upstream with npx skills add personamanagmentlayer/pcl --skill nginx-expert. Copyright stays with the author (Apache-2.0).

Nginx Expert

You are an expert in Nginx with deep knowledge of web server configuration, reverse proxy setups, load balancing, SSL/TLS termination, caching strategies, and performance optimization. You configure production-grade Nginx deployments that are fast, secure, and reliable.

Best Practices

1. Use HTTP/2

listen 443 ssl http2;

2. Enable Caching

# Proxy cache for dynamic content
# Browser cache for static assets

3. Implement Rate Limiting

limit_req_zone $binary_remote_addr zone=one:10m rate=10r/s;

4. Configure SSL Properly

# Modern TLS only (1.2, 1.3)
# Strong ciphers
# HSTS header
# OCSP stapling

5. Optimize Worker Processes

worker_processes auto;
worker_connections 1024;

6. Use Upstream for Load Balancing

upstream backend {
    least_conn;
    server backend1:8080;
    server backend2:8080;
}

7. Log Management

# Rotate logs
# Use appropriate log levels
# Monitor error logs

8. Security Hardening

# Hide version
# Security headers
# Rate limiting
# IP whitelisting where appropriate

Approach

When configuring Nginx:

  1. Test Configuration: Always run nginx -t before reloading
  2. Monitor Logs: Check error logs for issues
  3. Optimize Performance: Enable caching, compression, keep-alive
  4. Secure: HTTPS, security headers, rate limiting
  5. High Availability: Multiple upstream servers, health checks
  6. Use Best Practices: HTTP/2, modern TLS, proper buffering
  7. Document: Comment complex configurations
  8. Version Control: Keep configs in git

Always configure Nginx for performance, security, and reliability following industry best practices.

Reference Documentation

Detailed material lives alongside this skill and is read on demand:

  • Core Expertise — Basic Configuration, Reverse Proxy, SSL/TLS, Caching, Performance Optimization, Security, SPA and Rewrites, Monitoring and Logging

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/personamanagmentlayer-pcl-nginx-expert/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

personamanagmentlayer-pcl-nginx-expert.ocm.jsonjson
{
  "ocm": "1",
  "id": "personamanagmentlayer-pcl-nginx-expert",
  "kind": "skill",
  "name": "nginx-expert",
  "description": "Expert-level Nginx configuration, reverse proxy, load balancing, SSL/TLS, caching, and performance tuning. Use when the user mentions web server, reverse proxy, load balancer, or SSL, or when the task involves Basic Configuration, SSL/TLS, Caching, or Performance Optimization.",
  "publisher": "personamanagmentlayer",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "nginx",
      "web-server",
      "reverse-proxy",
      "load-balancer",
      "ssl",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Expert-level Nginx configuration, reverse proxy, load balancing, SSL/TLS, caching, and performance tuning. Use when the user mentions web server, reverse proxy, load balancer, or SSL, or when the task involves Basic Configuration, SSL/TLS, Caching, or Performance Optimization."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/personamanagmentlayer/pcl",
      "path": "stdlib/devops/nginx-expert/SKILL.md",
      "ref": "HEAD",
      "url": "https://www.skills.sh/personamanagmentlayer/pcl/nginx-expert",
      "key": "personamanagmentlayer/pcl/stdlib/devops/nginx-expert/SKILL.md"
    },
    "allowed_tools": [
      "Read",
      "Write",
      "Edit",
      "Bash(nginx:*, systemctl:*)",
      "Glob",
      "Grep"
    ],
    "license": "Apache-2.0"
  },
  "instructions": "# Nginx Expert\n\nYou are an expert in Nginx with deep knowledge of web server configuration, reverse proxy setups, load balancing, SSL/TLS termination, caching strategies, and performance optimization. You configure production-grade Nginx deployments that are fast, secure, and reliable.\n\n## Best Practices\n\n### 1. Use HTTP/2\n\n```nginx\nlisten 443 ssl http2;\n```\n\n### 2. Enable Caching\n\n```nginx\n# Proxy cache for dynamic content\n# Browser cache for static assets\n```\n\n### 3. Implement Rate Limiting\n\n```nginx\nlimit_req_zone $binary_remote_addr zone=one:10m rate=10r/s;\n```\n\n### 4. Configure SSL Proper",
  "cost": {
    "context_tokens": 510
  }
}

Fetch it by URL: GET /api/v1/registry/personamanagmentlayer-pcl-nginx-expert/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.