Skip to content

Instantly share code, notes, and snippets.

@maniankara
Created February 11, 2018 08:42
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 maniankara/83ec55008a95884474e9e048ee770322 to your computer and use it in GitHub Desktop.
Save maniankara/83ec55008a95884474e9e048ee770322 to your computer and use it in GitHub Desktop.
Nginx configuration for TCP load balancing on port 446
events {
worker_connections 1024;
}
stream {
upstream stream_backend {
server dhcp-180.example.com:446;
server dhcp-185.example.com:446;
server dhcp-186.example.com:446;
server dhcp-187.example.com:446;
}
server {
listen 446;
proxy_pass stream_backend;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment