FFCZ
#1
when i upgrade to 0.8.29
use -t to test config file, but return “: conflicting parameter
“*.abc.com””
i set “server_name www.abc.com;” and test is successful
but this problem not happen in 0.8.26 before
thank you!
configure arguments: --user=www --group=www --prefix=/usr/local/nginx
–with-http_stub_status_module
pcre-8.00 / Centos 5.2
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,27880,27880#msg-27880
FFCZ
#2
i know why this.
if set server_name *.abc.com;
and set
location ~.*.(gif|jpg|jpeg|png|bmp|swf)$ {
valid_referers none blocked server_names *.abc.com *.google.com;
if ($invalid_referer) { return 403; }
}
it will be “: conflicting parameter “*.abc.com””
i del *.abc.com from valid_referers no problem.
thank you Dave C.
bug?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,27880,27896#msg-27896
FFCZ
#3
Can you post your complete config? Possibly there is a trailing or
missing ;
FFCZ
#4
On Fri, Dec 04, 2009 at 02:21:43AM -0500, FFCZ wrote:
it will be “: conflicting parameter “*.abc.com””
i del *.abc.com from valid_referers no problem.
thank you Dave C.
bug?
No, it’s warning: server_names already includes *.abc.com, therefore,
you do not need to repeat it.
–
Igor S.
http://sysoev.ru/en/