August 2017
Intermediate to advanced
278 pages
8h 53m
English
Similar to a standard NGINX load balancer configuration, we first define an upstream block directive. This defines a memory allocation to store the configuration so that it can be updated on the fly.
Next, we define our standard server block directive. This is as per a standard configuration, which simply proxies the connections to the upstream servers.
Lastly, we then define a separate block directive to handle the upstream_conf module. We use the separate server block directive so that we can bind it to a specific port on the localhost and prevent accidental exposure to the internet.
Read now
Unlock full access