Nginx Admin conflicting server name error
This error normally happen if you are using dedicated IPes with some sites.
The error will be look like bellow,
Bellow is solution:
The error will be look like bellow,
Quote:2012/11/29 10:06:16 [warn] 727379#0: conflicting server name "1.1.1.1" on 1.1.1.1:80, ignored
2012/11/29 10:06:16 [warn] 727379#0: conflicting server name "1.1.1.1" on 1.1.1.1:80, ignored
Bellow is solution:
Quote:cd /etc/nginx/vhosts
perl -pi -w -e 's/server_name(.*) IP here/server_name$1/g;' *
/etc/init.d/httpd restart
No comments:
Post a Comment