--- name: nginx-default-conf description: Generates nginx.default.conf for nginx conf.d directory configuration. Serves static files from /usr/share/nginx/html. --- # Nginx Default Conf Skill ## Purpose Generate nginx.default.conf file for nginx conf.d directory configuration. ## Output Create the file: `nginx.default.conf` ## Template See: `examples.md` in this directory for complete template and detailed examples. ## Notes - Nginx configuration for conf.d directory - Serves static files from `/usr/share/nginx/html` - Configured for SPA routing with `try_files` fallback to index.html - Enables aggressive caching with `expires max` - CORS enabled with wildcard origin for development - Custom error pages for 500-series errors - Used in Dockerfile: copied to `/etc/nginx/conf.d/default.conf`