360 Secure SkillHub
360 安全技能中心

Web Deploy Pro

该技能以文档形式给出 Nginx/Caddy 反向代理、Certbot SSL 证书、域名绑定和性能优化配置模板与命令,覆盖静态站及 Node.js/Python 应用部署;未见可执行自动部署脚本,且声明的二维码资源缺失。

scriptsnet
scriptsnet
热度 16.36
最近更新 2026-05-15 20:16:47
分类:开发依赖:代码执行应用场景:DevOps / 自动化脚本 / 模板

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add server-web-deploy
Metadata
name
Web Deploy Pro / 网站部署
description
🌐 网站部署一站式 / All-in-one website deployment — Nginx/Caddy reverse proxy, SSL certificates, domain binding, performance optimization. Nginx/Caddy 反代、SSL证书、域名绑定、性能优化。
metadata
{"openclaw":{"emoji":"🌐","requires":{"bins":["nginx","certbot"],"env":[]}}}

🌐 Web Deploy Pro / 网站部署

Deploy websites with Nginx/Caddy, SSL, and domain setup. From static sites to full-stack apps. 用 Nginx/Caddy 部署网站,配 SSL 证书和域名。从静态站到全栈应用。


What I Can Do / 能做什么

Scenario / 场景 Description / 说明
🚀 Static Site / 静态站点 HTML/CSS/JS sites live in seconds
⚡ Node.js App Express/Next.js/Nuxt deployment
🐍 Python App Django/FastAPI/Flask deployment
🔐 SSL Certs / SSL证书 Let's Encrypt with auto-renewal
📈 Performance / 性能优化 gzip, caching, CDN configuration

Nginx Reverse Proxy Template / 反代模板

server {
    listen 80;
    server_name example.com;
    location / {
        proxy_pass http://127.0.0.1:3000;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_cache_bypass $http_upgrade;
    }
}

SSL with Certbot

apt install certbot python3-certbot-nginx
certbot --nginx -d example.com -d www.example.com
certbot renew --dry-run  # Test auto-renewal / 测试自动续签

Caddy (Zero Config / 零配置)

example.com {
    reverse_proxy localhost:3000
    encode gzip
}

Performance Checklist / 性能清单

  • gzip compression / 压缩
  • Static asset caching / 静态缓存
  • HTTP/2 enabled
  • OCSP Stapling
  • CDN (Cloudflare)
  • Rate limiting / 速率限制

📞 Contact / 联系方式

QQ: 3292957 Email: snowdu@gmail.com

QR Code: see assets/qr-contact.png in this package 微信/QQ 二维码见本技能包 assets/qr-contact.png 文件

For paid services / 需要付费服务请直接联系