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/04/13 05:35:55 UTC

[GitHub] [apisix] Yullin opened a new issue, #6835: feat: Suggest that access-control-allow-origin in response header showing just as configured

Yullin opened a new issue, #6835:
URL: https://github.com/apache/apisix/issues/6835

   ### Description
   
   Sorry for my poor english.
   In CORS plugin, Configured as follow:
   {
     "cors": {
       "max_age": 5,
       "allow_methods": "GET,POST",
       "allow_credential": false,
       "allow_origins": "http://a.test.com,http://b.test.com,http://c.test.com",
       "allow_headers": "*",
       "expose_headers": "*"
     }
   }
   It's ok when client access apisix directly, but there will be a problem when CDN cache is in front of apisix.
   Response header is cached by CDN, It will be blocked when you switch to b.test.com from a.test.com


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

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


[GitHub] [apisix] github-actions[bot] closed issue #6835: feat: Suggest that access-control-allow-origin in response header showing just as configured

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #6835: feat: Suggest that access-control-allow-origin in response header showing just as configured
URL: https://github.com/apache/apisix/issues/6835


-- 
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] github-actions[bot] commented on issue #6835: feat: Suggest that access-control-allow-origin in response header showing just as configured

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6835:
URL: https://github.com/apache/apisix/issues/6835#issuecomment-1506696858

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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] spacewander commented on issue #6835: feat: Suggest that access-control-allow-origin in response header showing just as configured

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

   You should configure the domain name as the cache key in CDN, so the response from a.test.com won't be used with b.test.com


-- 
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] github-actions[bot] commented on issue #6835: feat: Suggest that access-control-allow-origin in response header showing just as configured

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #6835:
URL: https://github.com/apache/apisix/issues/6835#issuecomment-1488306471

   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


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