What problem does it solve?
This Skill helps you run one reliable nginx edge that hosts many project vhosts while correctly handling TLS via certbot, reducing the risk of broken sites from bad config reloads or unsafe edits.
Core Features & Use Cases
- Multi-project vhost layout: Organizes
/etc/nginx/ with sites-available/ as source-of-truth and sites-enabled/ via symlinks for active hosts.
- Operational safety for changes: Enforces a validate-then-apply workflow (
nginx -t before any reload) to prevent taking the edge down.
- TLS via certbot with correct update patterns: Uses certbot for
listen 443 and renewals while warning against overwriting certbot-managed live files from repo templates.
- Trailing-slash correctness: Prevents subtle 404s by requiring redirect companion rules for every browsable
/name/ location.
- Common vhost workflows: Adds vhosts, issues/updates certs, reloads safely, tests config and logs, and removes projects cleanly.
Quick Start
Install a new vhost config into /etc/nginx/sites-available/, symlink it into /etc/nginx/sites-enabled/, then run nginx validation and reload to apply the change.