- Documentation
Volcengine Kubernetes Engine
Volcengine Kubernetes Engine
FAQs
Service and Ingress FAQs
How do I fix a cross-origin Ingress access failure?
Service and Ingress FAQs
How do I fix a cross-origin Ingress access failure?
How do I fix a cross-origin Ingress access failure?
Issue description
The cross-origin access configuration for Ingress-nginx in the VKE cluster did not take effect.
Solution
To enable cross-origin access, add the following settings to the annotations section of the Ingress.
Warning
Check whether the request method is included in the allowed methods in the CORS configuration and whether nginx.ingress.kubernetes.io/cors-allow-origin: "*" is configured. If the configuration is set to the default value "*", this may also cause the issue. In this case, delete this annotation.
Last updated: 2026.10.23 10:41:05