August 2017
Intermediate to advanced
278 pages
8h 53m
English
We're going to configure three local SMTP applications, which will be used to help distribute the load. This is what our configuration looks like:

As this needs the stream module, we need to confirm that we have the right NGINX version first. To do this, we run this command:
nginx -V
If you see --with-stream in the output, you have the required module. Otherwise, first start with the instructions in Chapter 1, Let's Get Started, to install an updated version.
Then, we define our stream block directive, which must be at the root level and not within the http block, like most of the other recipes in this book. You'll need to ...
Read now
Unlock full access