cors in nginx in signalr
mc
3,701
Reputation points
in asp.net core signalr there is a cors can can not connect to the server when it is in nginx with javascript.
but it will be ok in debug in my computer.
is it something I have to config in nginx or centos?
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.