Welcome! Log In Create A New Profile

Advanced

error : conflicting server name

Posted by RPM 
RPM
error : conflicting server name
June 03, 2018 11:20AM
Hello Nginx Community,

Our website was perfectly running under nginx since yesterday :
https://www.nouvelledonne.fr
OS server is debian Jessie (version 8.3.0).

After the SSL certificate renewal (with Let's encrypt) the following
error appears :

cat /var/log/nginx/error.log

2018/06/02 22:20:41 [warn] 16742#0: conflicting server name
"www.nouvelledonne.fr" on 0.0.0.0:443, ignored
2018/06/02 22:20:41 [notice] 16742#0: signal process started

--
Thanks for your help
Rene Paul Mages (ramix) GnuPG key : 0x9840A6F7
http://renemages.wordpress.com/debian
http://nosoftwarepatents.wikidot.com
http://twitter.com/RenePaulMages

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Maxim Dounin
Re: error : conflicting server name
June 04, 2018 01:50PM
Hello!

On Sun, Jun 03, 2018 at 11:12:54AM +0200, RPM wrote:

> Our website was perfectly running under nginx since yesterday :
> https://www.nouvelledonne.fr
> OS server is debian Jessie (version 8.3.0).
>
> After the SSL certificate renewal (with Let's encrypt) the following
> error appears :
>
> cat /var/log/nginx/error.log
>
> 2018/06/02 22:20:41 [warn] 16742#0: conflicting server name
> "www.nouvelledonne.fr" on 0.0.0.0:443, ignored
> 2018/06/02 22:20:41 [notice] 16742#0: signal process started

You have server_name set to "www.nouvelledonne.fr" in two
different server{} blocks listening on 0.0.0.0:443. Check your
configs.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
RPM
Re: error : conflicting server name
June 04, 2018 03:30PM
Le 04/06/2018 à 13:42, Maxim Dounin a écrit :
> Hello!
>
> On Sun, Jun 03, 2018 at 11:12:54AM +0200, RPM wrote:
>
>> Our website was perfectly running under nginx since yesterday :
>> https://www.nouvelledonne.fr
>> OS server is debian Jessie (version 8.3.0).
>>
>> After the SSL certificate renewal (with Let's encrypt) the following
>> error appears :
>>
>> cat /var/log/nginx/error.log
>>
>> 2018/06/02 22:20:41 [warn] 16742#0: conflicting server name
>> "www.nouvelledonne.fr" on 0.0.0.0:443, ignored
>> 2018/06/02 22:20:41 [notice] 16742#0: signal process started
>
> You have server_name set to "www.nouvelledonne.fr" in two
> different server{} blocks listening on 0.0.0.0:443. Check your
> configs.

Thanks a lot Maxim for your help. The https access to our web site has
come back after the deletion of one block of the two blocks (in which
www.nouvelledonne.fr appears) in the following file :
/etc/nginx/sites-available/www.nouvelledonne.fr

--
All the best
Rene Paul Mages (ramix) GnuPG key : 0x9840A6F7
http://renemages.wordpress.com/debian
http://nosoftwarepatents.wikidot.com
http://twitter.com/RenePaulMages
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Sorry, only registered users may post in this forum.

Click here to login