managing-nginx
Installation
SKILL.md
Nginx Management Skill
Monitor, analyze, and manage Nginx servers safely.
MANDATORY: Discovery-First Pattern
Always inspect the running Nginx configuration and status before making changes. Never guess server names or upstream blocks.
Phase 1: Discovery
#!/bin/bash
nginx_cmd() {
${NGINX_SUDO:+sudo} nginx "$@"
}
echo "=== Nginx Version & Modules ==="
nginx_cmd -V 2>&1 | head -5