nginx load balance TLS elasticsearch

Francis Daly francis at daoine.org
Mon Mar 14 18:33:52 UTC 2022


On Mon, Mar 14, 2022 at 01:55:23PM -0400, borys_85 wrote:

Hi there,

> 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.conf:42
> nginx: [emerg] "server" directive is not allowed here in
> /etc/nginx/nginx.conf:42

What is line 42 of /etc/nginx/nginx.conf?

That, and the surrounding context, might indicate why "server" is not
allowed there.

Cheers,

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list