Skip to content

Instantly share code, notes, and snippets.

@cronoh
Created February 24, 2016 20:47
Show Gist options
  • Save cronoh/60ff9e0f3f7ba97be329 to your computer and use it in GitHub Desktop.
Save cronoh/60ff9e0f3f7ba97be329 to your computer and use it in GitHub Desktop.
server {
listen 4567;
server_name _;
location / {
proxy_pass http://localhost:3000;
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;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment