rewrite help
Edho P Arief
edhoprima at gmail.com
Wed May 5 12:29:07 MSD 2010
On Wed, May 5, 2010 at 3:22 PM, Glen Lumanau <glen at lumanau.web.id> wrote:
> I tried
>
> server {
> listen 80;
> server_name yahoo.example.com;
>
> rewrite ^.+ http://www.example.com/site/yahoo$uri last;
> }
>
> However it's not rewrited. It's being redirected to http://www.example.com/site/yahoo
>
>
well, if you actually want to access www.ex.com/site/yahoo without
rewriting you have to configure each server blocks manually (root,
etc).
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
More information about the nginx
mailing list