Configure NGINX Proxy for Elastic

I configured three nodes as master.

I created a certificate for each one, which is used in HTTP and Transport requests.

There is also a username with a password to access the elasticsearch.

Note: Since I created the certificate, I need to pass the -k parameter when performing a cURL.

My Elasticsearch is only listening for the local machine IP.

However, who will access this VM will be other VMs also using the local IP of the nginx proxy and also remotely for some selected IPs, using the public IP of nginx.

My question is how do I configure an nginx proxy to connect to these three machines, requiring the username and password to still perform requests via HTTPs?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.