a6-plugin-cors
Installation
SKILL.md
a6-plugin-cors
Overview
The cors plugin manages Cross-Origin Resource Sharing headers on APISIX
routes. It automatically handles preflight OPTIONS requests, sets
Access-Control-* response headers, and supports wildcard, exact, and
regex-based origin matching.
When to Use
- Enable browser-based JavaScript access to your API from different origins
- Configure credentialed cross-origin requests (cookies, auth headers)
- Allow specific subdomains via regex patterns
- Control preflight cache duration for performance