Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nginx redirect


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: nginx redirect
  • From: Sergey Shepelev <temotor@xxxxxxxxx>
  • Date: Wed, 6 Apr 2011 22:18:39 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=aeVi4CM4LSSELo0rPCmba7sgVOJgr+QLRV/9XbQbcTE=; b=C15z12tW/xjrcTjptUdwWvJRzh5Uh4aL7leZ3Fj898FPRxbq7+RCVlDZQPX3r0N95a +FHtO/MFXVEI1o0naZ1kNwMgm5rLeLgB9Y2P5A2Y9m0Ag+qMbqMpjf9AtvsldGruwDIx 3EU2n/AjdXABnkuHWoqH1q2uluFyYL592dzQ4=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=d1sUB9QfhqoLy8lyzcO8u3yDlCOmM6E8Yy6o6KclCV6aCbN3O+b4NOM1/42NVaRNh3 Xuj9Zq5KEWc+bcKCAWiHoVANAt1vgzxEyMPzHjNk8o/VQVstLCOGD75UpWN7T5fjSXCV DAVULicU0toaK1Z1o54JKywL3YgJAs6fIqXsc=
  • In-reply-to: <64dd907230553aa36134604d7702fa02.NginxMailingListRussian@xxxxxxxxxxxxxxx>
  • References: <64dd907230553aa36134604d7702fa02.NginxMailingListRussian@xxxxxxxxxxxxxxx>

2011/4/6 neon_cyrex <nginx-forum@xxxxxxxx>:
> nginx/0.8.54 FreeBSD 8.2
>     
> ,   
> ,  http://< >/index.html 
> http://< >/  .
>     /index.html
>    http://<
> >/
>
>    location = /index.html {
>      rewrite /index.html http://< >/ break;
>    }

.   break,  permanent,    301
.    .

rewrite ^ http:/// permanent;

>
>    location / {
>      root  /usr/local/www/nginx;
>      index index.html;
>    }
>
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.