help,why not support *.abc.com

FFCZ nginx-forum at nginx.us
Fri Dec 4 10:21:43 MSK 2009


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 Cheney

bug?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,27880,27896#msg-27896





More information about the nginx mailing list