server{
listen 7000;
server_name www.whatever.com;
location / {
add_header 'Access-Control-Allow-Origin' 'http://localhost:7000' always;
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT, DELETE' always;
add_header 'Access-Control-Allow-Headers' 'X-Requested-With,Accept,Content-Type, Origin,x-auth' always;
default_type application/json;
proxy_pass //node;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
Может быть, это может помочь и заменить адрес на соответствующий.