Agent skill
nginx-sites-available
Generates nginx-sites-available-default in project root for Debian/Ubuntu-based nginx installations.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/nginx-sites-available
SKILL.md
Nginx Sites Available Default Skill
Purpose
Generate nginx sites-available default configuration file in the project root directory.
Output
Create the file: nginx-sites-available-default (in project root)
Template
See: examples.md for the exact configuration template.
Critical Configuration Elements
- SPA routing:
try_files $uri $uri/ /index.html;(required for Vue Router) - IPv4/IPv6: Dual-stack support on port 8080
- Error pages: Custom 50x.html error page handling
- SSL template: Commented configuration for HTTPS setup
- PHP template: Commented configuration for PHP applications
- Virtual hosts: Example for additional domains
Docker Integration
This file is referenced in Dockerfile:
RUN cp -a nginx-sites-available-default /etc/nginx/sites-available/default
Notes
- Debian/Ubuntu standard location for nginx site configurations
- File serves static files from
/usr/share/nginx/html(Vite build output location) - Includes comprehensive comments and templates for common patterns
- All configuration values are production-ready defaults
- No customization needed based on user parameters
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?