Created
February 11, 2018 08:42
-
-
Save maniankara/83ec55008a95884474e9e048ee770322 to your computer and use it in GitHub Desktop.
Nginx configuration for TCP load balancing on port 446
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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