error : conflicting server name

RPM RenePaulMages at ramix.org
Mon Jun 4 13:28:01 UTC 2018



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


More information about the nginx mailing list