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        fran...@daoine.org
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-le...@nginx.org

Reply via email to