nginx
Skill4 starsChanged 9 months agoMITView on GitHub
Nginx configuration, reverse proxy, and SSL
- Installs packages
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 117
Always: run nginx -t before reload/restart
- Very specific: line 118
Use sites-available + symlink to sites-enabled
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Nginx
Nginx management: configuration, reverse proxy, SSL.
Setup
# Check if installed
command -v nginx
# Install — macOS
brew install nginx
# Install — Ubuntu/Debian
sudo apt install nginxBasic Commands
# Test configuration (ALWAYS before reload)
sudo nginx -t
# Reload (applies config without downtime)
sudo systemctl reload nginx
# Restart
sudo systemctl restart nginx
# Status
systemctl status nginx
# Version and modules
nginx -VLogs
# Access log
sudo tail -f /var/log/nginx/access.log
sudo tail -100 /var/log/nginx/access.log
# Error log
sudo tail -f /var/log/nginx/error.log
# Logs for a specific site (if configured)
sudo tail -f /var/log/nginx/<site>-access.logSite Configuration
# List sites
ls /etc/nginx/sites-available/
ls /etc/nginx/sites-enabled/
# Enable site
sudo ln -s /etc/nginx/sites-available/<site> /etc/nginx/sites-enabled/
sudo nginx -t && sudo systemctl reload nginx
# Disable site
sudo rm /etc/nginx/sites-enabled/<site>
sudo nginx -t && sudo systemctl reload nginxReverse Proxy (template)
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://localhost:3000;
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;
}
}SSL with Certbot
# Install certbot
sudo apt install certbot python3-certbot-nginx
# Get certificate (modifies nginx config automatically)
sudo certbot --nginx -d example.com
# Renew
sudo certbot renew --dry-run
sudo certbot renewWebSocket Proxy
location /ws {
proxy_pass http://localhost:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}Tips
- Always run
nginx -tbefore reload/restart - Use
sites-available+ symlink tosites-enabled - For debug:
error_log /var/log/nginx/debug.log debug; - Rate limiting:
limit_req_zonein thehttpsection - Gzip: enable in
/etc/nginx/nginx.conffor performance
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- ffsshhttiikk/opencode-agents-skills★ 210% same
Wrote their own version · 9
- TheDecipherist/claude-code-mastery-project-starter-kit★ 337same name
- G1Joshi/Agent-Skills★ 15same name
- nejclovrencic/nginx-agent-skills★ 12same name
- tensorshift/claude-nginx-skill★ 3same name
- AvilaCarlosDev/openclaw-skills★ 1same name
- ElvitaStudio/vps-deploy-skills★ 1same name
- Alteriom/ai-dev-skills★ 0same name
- conjure-3301/skills★ 0same name
- weiweimhy/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use code-review.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
In this repository83 other files it gives its agents.
- a11y-axeSkill
- airtableSkill
- asanaSkill
- audio-ttsSkill
- aws-cliSkill
- azure-cliSkill
- backupSkill
- bookmarksSkill
- browser-automationSkill
- bundler-analyzeSkill
- calculatorSkill
- calendarSkill
- cargoSkill
- changelog-genSkill
- claude-codeSkill
- clickupSkill
- color-contrastSkill
- crypto-walletSkill
- databaseSkill
- discordSkill
- docker-composeSkill
- dockerSkill
- dora-metricsSkill
- emailSkill
- ffmpegSkill
- filesystemSkill
- gcloudSkill
- githubSkill
- gmailSkill
- gogSkill
- google-calendarSkill
- habitsSkill
- healthSkill
- hubspotSkill
- image-genSkill
- imagemagickSkill
- image-toolsSkill
- jiraSkill
- journalSkill
- kubernetesSkill
- lighthouseSkill
- linearSkill
- locationSkill
- media-configSkill
- meeting-notesSkill
- notesSkill
- notionSkill
- obsidianSkill
- ocrSkill
- pandocSkill
- paymentsSkill
- pdf-toolsSkill
- pip-poetrySkill
- pm2Skill
- pomodoroSkill
- project-managerSkill
- qr-codeSkill
- railway-deploySkill
- redis-cliSkill
- release-notesSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

