Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kylewm
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kylewm/451c59261e3a749b0536 to your computer and use it in GitHub Desktop.
Save kylewm/451c59261e3a749b0536 to your computer and use it in GitHub Desktop.
Nginx configuration for Websockets
location /_updates {
proxy_pass http://localhost:8077;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_read_timeout 86400s;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment