elad / node-cluster-socket.io

Writeup on how to make node.js cluster and socket.io play nice
421 stars 63 forks source link

CORS issue on cluster with nginx load balancer #37

Open stephaniemartin opened 5 years ago

stephaniemartin commented 5 years ago

I have CORS issue when use this cluster server behind nginx load balancer. how can I modify its origin so that CORS issue not showing? I send Auhorization header.

it is said:

The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Please help. Thanks in advance