← 返回 Skills 市场
cloudswave

Nginx Reverse Proxy

作者 EthanZhu · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
73
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install nginx-reverse-proxy
功能描述
Configure nginx reverse proxy for domain binding. Trigger when user says "绑定域名" or "配置nginx" or "反向代理" to bind a domain to a specific IP:port.
安全使用建议
This skill appears to do what it says: create an nginx virtual host file, test and reload nginx, and optionally run certbot to obtain TLS. Before using it, ensure the agent (or the person running the commands) has sudo/root access and that nginx and certbot are installed. Verify DNS for the domain points to your server. Review the generated config before reloading nginx to avoid accidental misconfiguration. Validate and sanitize the domain and target inputs (no newlines, no path traversal, domain is a valid hostname, target is a valid IP:port) to prevent malformed files or injection. Note the SKILL.md doesn't list required binaries (nginx, certbot, systemctl/sudo) — document or confirm those dependencies before installing. If you need stronger assurance, ask the author to add explicit prerequisites and input-validation steps (or run the commands manually yourself).
功能分析
Type: OpenClaw Skill Name: nginx-reverse-proxy Version: 1.0.0 The skill automates Nginx reverse proxy configuration and SSL setup using certbot, which requires high-privilege sudo access and modification of system configuration files in /etc/nginx/. While these actions are consistent with the stated administrative purpose, the direct use of user-provided variables ({domain}, {target}) in shell commands within SKILL.md poses a risk of command injection if the agent fails to sanitize inputs. No evidence of intentional malice or data exfiltration was found.
能力评估
Purpose & Capability
Name/description (bind domain to IP:port via nginx reverse proxy) directly match the SKILL.md steps: generate an nginx conf in /etc/nginx/conf.d, test and reload nginx, and optionally run certbot. The requested actions are coherent with the stated purpose.
Instruction Scope
Instructions explicitly modify system config (/etc/nginx/conf.d/{domain}.conf), run privileged commands (sudo tee, sudo nginx -t, sudo systemctl reload nginx) and optionally certbot. They do not read unrelated system files or exfiltrate data, but they rely on user input (domain/target) and do not include guidance to validate or sanitize that input (risk of malformed configs or injection). There are minor template typos in the HTTP example (double braces) that should be fixed.
Install Mechanism
Instruction-only skill with no install spec (lowest install risk). Nothing is downloaded or written by an installer step.
Credentials
The skill declares no required env vars or credentials, which is reasonable, but it does implicitly require system binaries and services (nginx, sudo/systemd, certbot). Those are related to the purpose but should be documented in metadata (required binaries: nginx, certbot, systemctl/sudo) so users know prerequisites.
Persistence & Privilege
The skill does not request permanent presence (always:false) and does not attempt to modify other skills or system-wide agent settings. It does perform privileged system changes at runtime (writing system config and reloading services), which is expected for this purpose but requires user consent and appropriate permissions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nginx-reverse-proxy
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nginx-reverse-proxy 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of nginx-reverse-proxy skill. - Provides automated nginx reverse proxy configuration for domain binding. - Supports both HTTPS (port 443 with SSL) and HTTP (port 80) proxy setups. - Generates nginx config files dynamically based on user-supplied domain and target IP:port. - Offers step-by-step commands for configuration, SSL certificate acquisition, and nginx reload. - Reports outcome including bound domain and target details.
元数据
Slug nginx-reverse-proxy
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Nginx Reverse Proxy 是什么?

Configure nginx reverse proxy for domain binding. Trigger when user says "绑定域名" or "配置nginx" or "反向代理" to bind a domain to a specific IP:port. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 73 次。

如何安装 Nginx Reverse Proxy?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install nginx-reverse-proxy」即可一键安装,无需额外配置。

Nginx Reverse Proxy 是免费的吗?

是的,Nginx Reverse Proxy 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Nginx Reverse Proxy 支持哪些平台?

Nginx Reverse Proxy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Nginx Reverse Proxy?

由 EthanZhu(@cloudswave)开发并维护,当前版本 v1.0.0。

💬 留言讨论