You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/02/18 07:15:56 UTC

[GitHub] [apisix] marchlhw opened a new issue #6372: request help:

marchlhw opened a new issue #6372:
URL: https://github.com/apache/apisix/issues/6372


   ### Issue description
   
   1. 路由配置,开启跨域插件,支持GET、POST、OPTIONS等方法
   ![image](https://user-images.githubusercontent.com/7006014/154635020-d9fdfe13-b8ae-47ca-83c8-d896831905f0.png)
   
   2. 执行OPTIONS请求,响应中没有Access-Control-Allow-Origin头,其他跨域的头到是有
   ![image](https://user-images.githubusercontent.com/7006014/154634858-5ebfab95-e01d-441e-b155-a1e4bc63d030.png)
   
   3. firefox浏览器,报相同的错误,响应中没有Access-Control-Allow-Origin头
   ![image](https://user-images.githubusercontent.com/7006014/154635502-1ad7ba13-8516-4823-ab71-d08da23baade.png)
   
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):
   - OS (cmd: `uname -a`):
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `luarocks --version`):
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] starsz commented on issue #6372: request help: CORS Missing Allow Origin

Posted by GitBox <gi...@apache.org>.
starsz commented on issue #6372:
URL: https://github.com/apache/apisix/issues/6372#issuecomment-1044283486


   > > your outermost http server is `tengine` , please visit `apisix` directly and look at the `response headers`
   > > looking forward to your reply!
   > 
   > 直接访问apisix正常了,感谢
   
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] jwrookie commented on issue #6372: request help: CORS Missing Allow Origin

Posted by GitBox <gi...@apache.org>.
jwrookie commented on issue #6372:
URL: https://github.com/apache/apisix/issues/6372#issuecomment-1044133020


   your outermost http server is `tengine` , please visit `apisix` directly and look at the `response headers`
   
   looking forward to your reply!


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] starsz closed issue #6372: request help: CORS Missing Allow Origin

Posted by GitBox <gi...@apache.org>.
starsz closed issue #6372:
URL: https://github.com/apache/apisix/issues/6372


   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] marchlhw commented on issue #6372: request help: CORS Missing Allow Origin

Posted by GitBox <gi...@apache.org>.
marchlhw commented on issue #6372:
URL: https://github.com/apache/apisix/issues/6372#issuecomment-1044144596


   
   
   
   > your outermost http server is `tengine` , please visit `apisix` directly and look at the `response headers`
   > 
   > looking forward to your reply!
   
   直接访问apisix正常了,感谢


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org