backnero commented on issue #2006: URL: https://github.com/apache/apisix/issues/2006#issuecomment-670334062
Okay, I added the SSL configuration (for example: xxx.com), and added the route of xxx.com/v1/xxx. When I set to enable cors globally, this error will appear. At this time, the root path and routing are not accessible. Turn off the global cors plugin and configure only the cors plugin of xxx.com/v1/xxx, the root path and routing can be accessed。 The same configuration is usually used in version 1.4.1, which is normal. But in version 1.5, need to turn off the global cors plugin and enable cors for specific services or routes ---------------------------------------------------------------- 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]
