金色时刻 · 15:48
让好资源,触手可及
AGENT SKILL

nginx-default-conf

nginx-default-conf 是面向效率工具的 Agent Skill,来自 benchflow-ai/skillsbench。查看技能说明、操作步骤与使用约定,并通过原项目了解详细用法。

Generates nginx.default.conf for nginx conf.d directory configuration. Serves static files from /usr/share/nginx/html.

SKILL.md

下载 MD ↓
namenginx-default-conf
descriptionGenerates 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

来源:benchflow-ai/skillsbench · Apache-2.0 许可 · 许可原文 · MD 为来源页保存的历史版本