redirect from www to sub-page
Marcin Kasperski
Marcin.Kasperski at mekk.waw.pl
Thu Jan 22 20:23:24 MSK 2009
> location = / {
> rewrite ^ http://www.example.com/new_location;
> }
Out of curiosity: does there exist any noticeable difference between
this and
rewrite ^/$ /new_location;
?
--
----------------------------------------------------------------------
| Marcin Kasperski | You have the right to say how long each
| http://mekk.waw.pl | requirement will take you to implement, and
| | to revise estimates given experience. (Beck)
----------------------------------------------------------------------
More information about the nginx
mailing list