Elasticsearch Native Binary Protocol through NGiNX Stream

galew nginx-forum at forum.nginx.org
Wed Mar 4 07:41:15 UTC 2020


Hi,

I have tried to ask from Elasticsearch forums and googled everywhere, but
with no help so I registered here.
I am using NGiNX to cover my Elasticsearch clusters and all the clients
connect through them.

Everything else works fine to both the http and non-http traffic. The
problem is the Liferay client using Elasticsearch Native Binary Protocol.
Without NGiNX everything works right so NGiNX somehow does not understand
this.

Using Elasticsearch 6.8.6
Nginx 1.15.9
Red Hat 7.7

nginx.conf
---clip----
stream {
include /etc/nginx/conf.d/elasticsearch_tcp.conf;
}

elasticsearch_tcp_conf
server {
proxy_buffer_size 16k;
listen 10.100.5.10:8090;
proxy_pass 10.20.1.10:9300;

Any ideas for what I could try please?

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,287254,287254#msg-287254



More information about the nginx mailing list