On Wed, May 5, 2010 at 3:22 PM, Glen Lumanau <glen@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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx