Setup your elastic client in your nginx proxy for multiple elasticsearch server.
The query inside the nginx.conf has version controlled, maintained, tracked and it's transparent to every of your team member. Central based and pass to multiple elastic server.
Nginx is reliable proxy server, the client is auto load-balance upstream to elasticsearch server.
For further feature and details:-
nginx-elastic-client