February 2018
Beginner to intermediate
348 pages
9h 40m
English
The way TCP load balancing works in Nginx is remarkably similar to HTTP load balancing. However, since the module which brings forth the new set of directives is not included in the default build, you will need to run the configure command with the following flag before building the program:
--with-stream
The stream module offers a new block called stream, which must be placed at the root of the configuration file (outside of the http block). In this block, you must declare two sets of directives:
In your server blocks, the requests ...
Read now
Unlock full access