Page 1 sur 1

Conflit Nginx Pi 3

Posté : mar. 4 août 2020 19:14
par Horace
Salut à tous,
J'ai un drôle de truc qui m'est arrivé sur ma Frambois !
Je demande l'état de Nginx :

Code : Tout sélectionner

sudo nginx -t
Et je reçois ça :

Code : Tout sélectionner

nginx: [warn] conflicting server name "localhost" on 0.0.0.0:80, ignored
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Je ne comprends pas bien la première ligne, le warning.
Qui a une idée ?
Merci d'avance
Cordiaielemnt
H.

Re: Conflit Nginx Pi 3

Posté : mar. 4 août 2020 19:36
par dyox
Bonsoir,
Faites une recherche avec "nginx: [warn] conflicting server name "localhost" on 0.0.0.0:80, ignored" sur le net, il y a plusieurs solutions.