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

Plugin Configuration Reference (Route/Service)

Installs
1
Repository
api7/a6
GitHub Stars
1
First Seen
Jul 23, 2026
a6-plugin-cors — api7/a6