nginx load balance TLS elasticsearch

2022-03-14 Thread borys_85
Hi I'm a new on nginx configuration, I've tried today to up load balancer for my elasticsearch service instances I don't know what's wrong? "/docker-entrypoint.sh: Configuration complete; ready for start up 2022/03/14 17:46:54 [emerg] 1#1: "server" directive is not allowed here in /etc/nginx/nginx

Re: nginx load balance TLS elasticsearch

2022-03-14 Thread borys_85
I was referring to https://docs.nginx.com/nginx/admin-guide/security-controls/securing-http-traffic-upstream/ Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293831,293832#msg-293832 ___ nginx mailing list -- nginx@nginx.org To unsubscribe se

Re: nginx load balance TLS elasticsearch

2022-03-14 Thread borys_85
ah I found the missed "}" curly brac. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,293831,293834#msg-293834 ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org

Re: nginx load balance TLS elasticsearch

2022-03-14 Thread borys_85
Thanks I've already found this missed curly bracket, but I'm forcing in my environment setup on nginx for Elasticsearch: -what I have a problem with the correct configuration for connect NGINX over TLS to my nodes below You can find my configuration,maybe You can point me out what's wrong in th

Re: nginx load balance TLS elasticsearch

2022-03-14 Thread borys_85
should I use ssl settings for "listen 9290 ssl" in the proxy part? server { listen 9290 ssl; server_name 10.210.12.10; #... location /upstream { proxy_pass https://elasticsearch_servers; proxy_ssl_certificate /etc/ssl/certs/coordination_