nginx-default-conf

Community

Auto-generates nginx.default.conf for static hosting.

Authorsayali-ingle-pdl
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill generates nginx.default.conf in the project root to configure an nginx conf.d directory for serving static assets, with SPA routing support and sensible defaults for production.

Core Features & Use Cases

  • Generates nginx.default.conf in the project root for serving static content from /usr/share/nginx/html.
  • Implements SPA routing via try_files to support client-side navigation in Vue/Vite apps.
  • Enables CORS headers for cross-origin access in micro-frontend and CDN scenarios.
  • Applies caching headers and proper error handling with a 50x page for better UX.
  • Integrates with Docker by aligning with the common copy step to /etc/nginx/conf.d/default.conf.

Quick Start

Generate nginx.default.conf in the project root with the provided production defaults.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nginx-default-conf
Download link: https://github.com/sayali-ingle-pdl/adusa-ai-vuejs-app-template/archive/main.zip#nginx-default-conf

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.