Francis Daly
March 14, 2022 02:40PM
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@daoine.org
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

nginx load balance TLS elasticsearch

borys_85 March 14, 2022 01:55PM

Re: nginx load balance TLS elasticsearch

borys_85 March 14, 2022 01:58PM

Re: nginx load balance TLS elasticsearch

borys_85 March 14, 2022 02:32PM

Re: nginx load balance TLS elasticsearch

Francis Daly March 14, 2022 02:40PM

Re: nginx load balance TLS elasticsearch

borys_85 March 14, 2022 03:15PM

Re: nginx load balance TLS elasticsearch

borys_85 March 14, 2022 03:55PM

Re: nginx load balance TLS elasticsearch

Francis Daly March 15, 2022 07:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 231
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready