nginx 不允许在 if 块中使用 add_header 指令, 将 CORS 配置提取到独立的 snippets/cors-params.conf 文件。 修改内容: - 新增 cors-params.conf 配置文件 - 在每个 location 块中引入 cors-params.conf - 从 server 块移除内联的 CORS 配置 - 更新目录结构说明和部署步骤 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api-gateway | ||
| mpc-system | ||
| services | ||