[CentOS] nginx conflicting server name ignored warning

Mon Jun 1 15:55:23 UTC 2015
Tim Dunphy <bluethundr at gmail.com>


 I'm getting a strange warning whenever I do a config test or a restart of
nginx 1.0.15

[root at aoadbld00032lb nginx]# nginx -t
nginx: [warn] conflicting server name "aoadbld00032lb.company.com" on, ignored
nginx: [warn] conflicting server name "logs.pcf.company.com" on,
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful

And as far as I can tell I only have one server_name directive in the whole

[root at aoadbld00032lb nginx]# grep -r server_name *
conf.d/kibana.conf:    server_name   aoadbld00032lb.company.com
fastcgi_params:fastcgi_param  SERVER_NAME        $server_name;
scgi_params:scgi_param  SERVER_NAME        $server_name;
uwsgi_params:uwsgi_param  SERVER_NAME        $server_name;

It's more of an annoyance than any kind of real problem, as far as I can
tell. Because the site I'm trying to put up with it appears to be working.
I'm using this host as a logstash server.

But does anybody have any ideas as to why this may be happening? Or of any
potential problems that this may cause?


GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B