📌  相关文章
📜  nginx 的 'Access-Control-Allow-Origin' 标头包含多个值 'http: localhost:3002, http: localhost:3002',但只允许一个. - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:35.638000             🧑  作者: Mango

代码示例1
If you're using Nginx as a reverse proxy for your node app. 
Let your node app handle the cors
Because if you handle it at both level. Nginx and Node both will set headers 
which won't work.
Here's the Stackoverlow
https://stackoverflow.com/questions/22343384/the-access-control-allow-origin-header-contains-multiple-values