Skip to content

Instantly share code, notes, and snippets.

@nairihar
Created July 14, 2022 19:31
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 nairihar/d12632a7040d8751ce5a276baa4c8b81 to your computer and use it in GitHub Desktop.
Save nairihar/d12632a7040d8751ce5a276baa4c8b81 to your computer and use it in GitHub Desktop.
Scaling up Node.js Socket Server with Nginx and Redis | nginx.conf
upstream nodes {
ip_hash;
server 127.0.0.1:8000;
server 127.0.0.1:8001;
server 127.0.0.1:8002;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment