virtualservice 跨域配置
spec:
gateways:
- abc
hosts:
- abc.com
http:
- corsPolicy:
allowCredentials: false
allowHeaders:
- DNT
- X-CustomHeader
- Keep-Alive
- User-Agent
- X-Requested-With
- If-Modified-Since
- Cache-Control
- Content-Type
- Authorization
allowMethods:
- POST
- GET
- OPTIONS
allowOrigins:
- exact: '*'
maxAge: 24h