nginx: server_name wildcard not working

Igor Clark igor at pokelondon.com
Mon Jul 9 13:36:40 MSD 2007


Thanks for the info, Igor. (And for nginx too, of course.)

On 5 Jul 2007, at 21:35, Igor Sysoev wrote:

> On Wed, Jun 27, 2007 at 02:20:24PM +0100, Igor Clark wrote:
>
>> Thanks Wayne.
>>
>> I've tried with 0.6 and that allows wildcards at the end, but
>> apparently not at the beginning *and* the end.
>>
>> 	# /usr/local/nginx-0.6.0/sbin/nginx -t -c /usr/local/nginx-0.6.0/
>> conf/nginx.conf
>> 	2007/06/27 14:14:24 [emerg] 8819#0: invalid server name or wildcard
>> "*.apache1.*" on 0.0.0.0:80
>>
>> Should this work in 0.6.0? If not, will it ever work?
>
> No, 0.6.0+ supports wildcards at the beginning OR at the end
> and as full domain part(s) only. There's no plans to add other
> functionality.

--
Igor Clark // POKE // 10 Redchurch Street // E2 7DD // +44 (0)20 7749  
5355 // www.pokelondon.com

We've gone sub-zero with the TopGear Cool Wall: http:// 
www.topgear.com/coolwall/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20070709/6e66feab/attachment.html>


More information about the nginx mailing list