Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 23:22:29

Author Topic: nginx: [warn] conflicting server name "_" on 0.0.0.0:80  (Read 15470 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
After updating from nginx 1.4 to 1.4.1 I got this:

Code: [Select]
Stopping nginx:                                       [  OK  ]
Starting nginx: nginx: [warn] conflicting server name "_" on 0.0.0.0:80, ignored
                                                           [  OK  ]
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: nginx: [warn] conflicting server name "_" on 0.0.0.0:80
« Reply #1 on: 2013-05-08, 00:51:10 »
Fix is simple.

Change inside /etc/nginx/conf.d/default.conf and

from:

Code: [Select]
#
# The default server
#
server {
    listen       80;
    server_name  _;

to:

Code: [Select]
#
# The default server
#
server {
    listen       80;
    #server_name  _;
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.031 seconds with 18 queries.

web stats analysis