Server
by @ivangdavila
Configure, deploy, and troubleshoot web servers, application servers, and containerized services.
clawhub install serverπ About This Skill
name: Server description: Configure, deploy, and troubleshoot web servers, application servers, and containerized services.
Scope
This skill covers the software layer β what runs inside a machine.
For infrastructure (provisioning VMs, SSH hardening, firewalls, backups), use the vps skill.
When to Use
Common Pitfalls
lsof -i :PORT or ss -tlnp | grep PORT, kill stale processes--standalone or --webroot mode appropriatelynginx -t before systemctl reload nginxhost.docker.internal (Docker Desktop) or 172.17.0.1 (Linux)Patterns by Use Case
| Use Case | Recommended Stack | |----------|-------------------| | Static site | Caddy (auto-SSL, zero config) | | Node.js app | PM2 + nginx reverse proxy | | Python (Django/FastAPI) | Gunicorn + nginx | | Multiple services | Docker Compose + Traefik | | Game server | Dedicated container + port mapping |
For framework-specific configs, see configs.md.
For Docker Compose patterns, see docker.md.
Debugging Checklist
1. Is the process running? systemctl status or docker ps
2. Is it listening? ss -tlnp | grep PORT
3. Can you reach it locally? curl localhost:PORT
4. Firewall blocking? Check ufw status or cloud security groups
5. Reverse proxy misconfigured? Check nginx logs: /var/log/nginx/error.log
6. DNS pointing correctly? dig domain.com or nslookup