🌐 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.pngin this package 微信/QQ 二维码见本技能包assets/qr-contact.png文件
For paid services / 需要付费服务请直接联系
