weird-aftertaste

Nginx Proxy Manager

运维安全v1.0.0
作者:weird-aftertaste更新于 2026-05-17npm-proxy@clawhub_weird-aftertaste/npm-proxy
服务器运维配置生成

据 AlphaMoat 统计,截至 2026-09,Nginx Proxy Manager 累计下载 3,493 次、获 2 个星标,在全部 5,078 个 AI 技能中排名第 3,163 位,在「运维安全」分类(264 个)中排名第 205 位。

累计安装
105
累计下载
3,493
星标
2
全站排名
#3,163
全站前 63% · 「运维安全」前 78%
平台累计安装累计下载星标评论
ClawHub ↗1053,2032-
SkillHub ↗1053,4932—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

配置需要管理员凭据,随附卡片提示 API token 会保存在本机,删除命令可能立即移除代理配置且没有内置确认或 dry run。操作前应确认实例与目标主机,并保护本地凭据;删除前应另行取得明确确认。

资料发布于 2026-10-29

可以用来做什么

  • 查询代理主机与证书状态。
  • 规划域名转发和 SSL 配置。
  • 检查停用或删除代理主机的操作影响。

什么时候用

  • 需要检查 Nginx Proxy Manager 的主机或证书时。
  • 需要规划反向代理或 SSL 设置时。
  • 启用、停用或删除主机前需要核对目标与影响时。

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

总结该 NPM API helper 支持的主机和证书操作。
列出删除代理主机前需要人工核实的目标、凭据和影响。

月度数据趋势

累计下载3,493
2,6063,0833,5592026-05 · 累计下载 2,6722026-07 · 累计下载 3,0202026-08 · 累计下载 3,1252026-09 · 累计下载 3,49326-0526-09
星标2
1232026-05 · 星标 22026-07 · 星标 22026-08 · 星标 22026-09 · 星标 226-0526-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,493—2
2026-083,125+3.5%2
2026-073,020—2
2026-052,672—2

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

1.7 KB · ClawHub v1.0.0
---
name: npm-proxy
description: Manage Nginx Proxy Manager (NPM) hosts, certificates, and access lists. Use when the user wants to add a new domain, point a domain to a server/port, enable SSL, or check the status of proxy hosts.
---

# NPM Proxy Skill

Manage Nginx Proxy Manager (NPM) via its REST API.

## Configuration
展开全部(共 70 行)

Set the following environment variables:
- `NPM_URL`: The URL of your NPM instance (e.g., `https://npm.example.com`)
- `NPM_EMAIL`: Your NPM admin email
- `NPM_PASSWORD`: Your NPM admin password

## Usage

```bash
# List all proxy hosts
python scripts/npm_client.py hosts

# Get details for a specific host
python scripts/npm_client.py host <host_id>

# Enable/Disable a host
python scripts/npm_client.py enable <host_id>
python scripts/npm_client.py disable <host_id>

# Delete a host
python scripts/npm_client.py delete <host_id>

# List certificates
python scripts/npm_client.py certs
```

## Workflows

### Adding a new Proxy Host
To add a new host, use `curl` directly (the script is currently minimal).
Example payload for `POST /api/nginx/proxy-hosts`:
```json
{
  "domain_names": ["sub.example.com"],
  "forward_scheme": "http",
  "forward_host": "192.168.1.10",
  "forward_port": 8080,
  "access_list_id": 0,
  "certificate_id": 0,
  "ssl_forced": false,
  "meta": {
    "letsencrypt_email": "",
    "letsencrypt_agree": false,
    "dns_challenge": false
  },
  "advanced_config": "",
  "locations": [],
  "block_exploits": true,
  "caching_enabled": false,
  "allow_websocket_upgrade": true,
  "http2_support": true,
  "hsts_enabled": false,
  "hsts_subdomains": false
}
```

### Enabling SSL (Let's Encrypt)
1. List certs with `certs` to see if one exists.
2. Update the host with `certificate_id` and `ssl_forced: true`.

「运维安全」分类下的热门技能

weird-aftertaste 的其他技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。