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]

nginx redirect


  • To: nginx-ru@xxxxxxxxx
  • Subject: nginx redirect
  • From: "neon_cyrex" <nginx-forum@xxxxxxxx>
  • Date: Wed, 06 Apr 2011 14:05:31 -0400
  • Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=n/KmHLeZ2sP0QcprOuyWhWM3B11BZjUMMS3dZKJzoGA=; b=lhtmj98OK2oYP4yYGV+7UV5Ss1FTeqXxf9alfC61JEjrhBA39pHPJsBLxoVyhBs/wLZcNYH6UwZrdip+gWH50BcOjIQCkpfAaRLCJvzJYGilD6es7sPAazr2WDVTBkKA;

nginx/0.8.54 FreeBSD 8.2
    
,   
,  http://< >/index.html 
http://< >/  .
    /index.html
    http://<
>/

        location = /index.html {
            rewrite /index.html http://< >/ break;
        }

        location / {
            root   /usr/local/www/nginx;
            index  index.html;
        }

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,188841,188841#msg-188841


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.