--- name: nginx-sites-available description: Generates nginx-sites-available-default configuration file for serving the Vue application on Debian/Ubuntu-based nginx installations. --- # Nginx Sites Available Default Skill ## Purpose Generate nginx sites-available default configuration file for serving the Vue application. ## Output Create the file: `nginx-sites-available-default` ## Template See: `examples.md` in this directory for complete template and detailed examples. ## Notes - Default nginx sites-available configuration for Debian/Ubuntu-based systems - Serves static files from `/usr/share/nginx/html` - Configured for SPA (Single Page Application) routing with `try_files` fallback to index.html - Listens on both IPv4 and IPv6 - Includes commented examples for SSL, PHP, and virtual hosts - Custom error pages for 500-series errors - Used in Dockerfile to configure nginx server