update nginx config to allow websockets;
remove NODE_ENV before creating tty to prevent apps uses NODE_ENV";
apps like npm accepts NODE_ENV environment variable,
if NODE_ENV=production, usually, npm will do nothing.