# Send Nginx to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "nginx",
    "name": "Nginx",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/nginx",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/nginx",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/nginx",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=nginx",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "examples.md",
      "performance.md",
      "proxy.md",
      "ssl.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "nginx",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T04:24:45.413Z",
      "expiresAt": "2026-05-13T04:24:45.413Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=nginx",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=nginx",
        "contentDisposition": "attachment; filename=\"nginx-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "nginx"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/nginx"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/nginx",
    "downloadUrl": "https://openagent3.xyz/downloads/nginx",
    "agentUrl": "https://openagent3.xyz/skills/nginx/agent",
    "manifestUrl": "https://openagent3.xyz/skills/nginx/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/nginx/agent.md"
  }
}
```
## Documentation

### When to Use

User needs Nginx expertise — from basic server blocks to production configurations. Agent handles reverse proxy, SSL, caching, and performance tuning.

### Quick Reference

TopicFileReverse proxy patternsproxy.mdSSL/TLS configurationssl.mdPerformance tuningperformance.mdCommon configurationsexamples.md

### Location Matching

Exact = first, then ^~ prefix, then regex ~/~*, then longest prefix
location /api matches /api, /api/, /api/anything — prefix match
location = /api only matches exactly /api — not /api/
location ~ \\.php$ is regex, case-sensitive — ~* for case-insensitive
^~ stops regex search if prefix matches — use for static files

### proxy_pass Trailing Slash

proxy_pass http://backend preserves location path — /api/users → /api/users
proxy_pass http://backend/ replaces location path — /api/users → /users
Common mistake: missing slash = double path — or unexpected routing
Test with curl -v to see actual backend request

### try_files

try_files $uri $uri/ /index.html for SPA — checks file, then dir, then fallback
Last argument is internal redirect — or =404 for error
$uri/ tries directory with index — set index index.html
Don't use for proxied locations — use proxy_pass directly

### Proxy Headers

proxy_set_header Host $host — backend sees original host, not proxy IP
proxy_set_header X-Real-IP $remote_addr — client IP, not proxy
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for — append to chain
proxy_set_header X-Forwarded-Proto $scheme — for HTTPS detection

### Upstream

Define servers in upstream block — upstream backend { server 127.0.0.1:3000; }
proxy_pass http://backend uses upstream — load balancing included
Health checks with max_fails and fail_timeout — marks server unavailable
keepalive 32 for connection pooling — reduces connection overhead

### SSL/TLS

ssl_certificate is full chain — cert + intermediates, not just cert
ssl_certificate_key is private key — keep permissions restricted
ssl_protocols TLSv1.2 TLSv1.3 — disable older protocols
ssl_prefer_server_ciphers on — server chooses cipher, not client

### Common Mistakes

nginx -t before nginx -s reload — test config first
Missing semicolon — syntax error, vague message
root inside location — prefer in server, override only when needed
alias vs root — alias replaces location, root appends location
Variables in if — many things break inside if, avoid complex logic

### Variables

$uri is decoded, normalized path — /foo%20bar becomes /foo bar
$request_uri is original with query string — unchanged from client
$args is query string — $arg_name for specific parameter
$host from Host header — $server_name from config

### Performance

worker_processes auto — matches CPU cores
worker_connections 1024 — per worker, multiply by workers for max
sendfile on — kernel-level file transfer
gzip on only for text — gzip_types text/plain application/json ...
gzip_min_length 1000 — small files not worth compressing

### Logging

access_log off for static assets — reduces I/O
Custom log format with log_format — add response time, upstream time
error_log level: debug, info, warn, error — debug is verbose
Conditional logging with map and if — skip health checks
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ivangdavila
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-06T04:24:45.413Z
- Expires at: 2026-05-13T04:24:45.413Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/nginx)
- [Send to Agent page](https://openagent3.xyz/skills/nginx/agent)
- [JSON manifest](https://openagent3.xyz/skills/nginx/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/nginx/agent.md)
- [Download page](https://openagent3.xyz/downloads/nginx)