NGINX Balancer Configuration

The following NGINX configuration files are available:

Folder File Path
nginx nginx.conf /etc/nginx
conf.d /etc/nginx/conf.d
tcpmaps mappings.xml /etc/nginx/tcpmaps

NGINX is a default load balancer that is automatically added if you choose several application servers in your environment topology.

The nginx.conf file – the main configuration file for the NGINX balancer – is located in the /etc/nginx folder. By default, it includes the automatically generated settings from the nginx-jelastic.conf file in the same directory.

nginx.conf file

Note: The nginx-jelastic.conf file is generated automatically and should not be edited manually as your changes will be eventually overwritten by the platform. If you need to change the settings, follow the next steps:

  • copy the content of the nginx-jelastic.conf file
  • paste it to the nginx.conf file, replacing the “include /etc/nginx/nginx-jelastic.conf;” line
  • make necessary adjustments directly in the nginx.conf file

Back to the list

The /etc/nginx/conf.d folder contains the additional feature‑specific configuration files for the NGINX load balancer. You can use the include directive in the main nginx.conf file to reference the contents of the feature‑specific files.

NGINX conf.d settings

If needed, you can edit existing files or upload your own custom configuration files to the conf.d folder.

Back to the list

The /etc/nginx/tcpmaps folder contains the mappings.xml file where you can set the TCP balancing port redirects. Here, you can specify port pairs – one to listen to and the other to redirect to.

Find more information in the NGINX Load Balancing and TCP Load Balancing documents.

mappings.xml file

To set caching in NGINX follow the instructions in the linked document.

Share this:
FacebookXWhatsAppTelegramLinkedInGmailCopy Link
Updated on March 10, 2026
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support