How does NGINX Balancer configuration works

OVERVIEW

Load Balancing is a process of distributing load across multiple components. This process is performed by a specific type of node called ‘load balancers’. In Cloudjiffy, load balancers can be added manually to the virtual environment.

Nginx is one of the most popular open-source servers in the world, which provides customers with great performance, ensuring the efficiency of their applications. Using NGINX requires no extra steps or pre-configuration. It offers a built-in Layer 7 load balancing and content caching to provide a cost-effective and highly available platform for applications hosting due to its scalability, security, and high resource usage efficiency.

1 - nginx.conf

For performing necessary configurations for NGINX balancer the nginx.conf file, located in the conf folder, is used.

File location- /etc/nginx/nginx.conf

                     

2 - CONF.D

With access to NGINX configurations, you can not only edit the existing files but also upload your own config files with custom settings to the conf.d folder.

                               

3 - TCPMAPS

The tcpmaps folder contains the mappings.xml file where you can set the redirection of the TCP balancing ports. There you need to specify the pair of ports: one to listen to and the other to redirect to.

To set caching in NGINX click on the link and follow the instructions.

 


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 5886
Related articles: