miaoyb edited a comment on issue #3759: URL: https://github.com/apache/apisix/issues/3759#issuecomment-791100711
> We already support this feature. Please read the doc: https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/cors.md > > > | allow_origins | string | optional | "*" | | Which Origins is allowed to enable CORS, format as:`scheme`://`host`:`port`, for example: https://somehost.com:8081. Multiple origin use `,` to split. if i want allowed *.xxx.cn,What should I write,like "*.xxx.cn" or "xxx.cn"? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
