NGINX Load Balancer Configuration
Following are the NGNIX configuration files.
Folder |
File |
Path |
conf | nginx.conf | /etc/nginx |
conf.d | /etc/nginx/conf.d | |
tcpmaps | mappings.xmlf | /etc/nginx/tcpmaps |
An NGINX balancer is automatically included when multiple application servers are selected.
CONF
To perform necessary configurations for the NGNIX balancer, you can access the nginx.conf file located in the nginx folder, as depicted in the screenshot below.
Now more about how to configure Node resources in an environment.
CONF.D
When you can access NGINX configurations, you can modify existing files and upload your custom configuration files with specific settings to the `conf.d` folder.
TCPMAPS
Inside the tcpmaps folder, you’ll find the mappings.xml file, which allows you to configure TCP port redirection. In this file, specify pairs of ports where one port listens for incoming connections and redirects them to another port.
To get more details on TCP load balancing with NGINX, check the NGINX Load Balancing and TCP Load Balancing documentation.
To enable caching in NGINX, follow the instructions provided in the documentation linked here.