|
|
|
|
АРХИВ :: nginx-ru
|
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Нужна помощь с rewrite (www.doma in.com на forum.domain.com)
- To: nginx-ru@xxxxxxxxx
- Subject: Re: Нужна помощь с rewrite (www.doma in.com на forum.domain.com)
- From: Max Ivanov <ivanov.maxim@xxxxxxxxx>
- Date: Fri, 28 Jan 2011 09:08:03 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=T9IZ4kKxDGRrNc18ybpX8Q4UeILL7ozAky7WdgI+rfE=; b=OEVrGQ05l1DWCOuF3hsLfWOIWljIg4wE9Vhrwf/+EJChyt8TrKD5OkvVgM2L+/jPZW U9f7P9AKt9bbiM5SsgawfBI241dV4Q7ytFhxObLEdkWnlJgiAR1qFzGj7Yo7cjaZp/tT 418Di+BrNELvqt/qiH0gfVBjH0HvqoG0fHlq4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=DYiiPmvmhyqTLUgdIPwGKH82sap32B05Cc3TlGGxpdJXXMnUAKtyNJNYe/KDImQPiM +IyaRdmLrN49ULZklBo/+AbUk6TSm9fveuzpVTYzg98tBpxytoehKpuJNCwk79hUlkIS Z3eaWbvVWIWYwX37YFk5DX8tiyap7RG/y3cTU=
- In-reply-to: <4D421A06.4000307@xxxxxxx>
- References: <5f49490abde6ff3919d747195c6a7609.NginxMailingListRussian@xxxxxxxxxxxxxxx> <4D421A06.4000307@xxxxxxx>
> - location /forum/ {
> - rewrite ^ http://forum.domain.com permanent;
> - }
> + rewrite ^/forum/(.*) http://forum.domain.com/$1 permanent;
>
Реврайты вне location зло все-таки.
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|
|
|