nginx: server_name wildcard not working

Igor Sysoev is at rambler-co.ru
Fri Jul 6 00:36:44 MSD 2007


On Wed, Jun 27, 2007 at 12:01:13PM +0100, Igor Clark wrote:

> With nginx 0.6.0 I get this error:
> 
> 	2007/06/27 11:36:07 [emerg] 27966#0: invalid server name or wildcard 
> "*.apache1.*.mydomain.com" on 0.0.0.0:80
> 
> With 0.5.26 the configuration test "nginx -t -c nginx.conf" is OK but  
> it doesn't work - all requests are forwarded to apache 1, whatever  
> host name is requested.

nginx 0.6.0+ tests the wildcard validity.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list