rewrite help

Edho P Arief edhoprima at gmail.com
Wed May 5 12:16:29 MSD 2010


On Wed, May 5, 2010 at 3:09 PM, Glen Lumanau <glen at lumanau.web.id> wrote:
> Hi folks,
>
>
>
> I need a rewrite rules like this
>
>
>
> I have www.example.com, google.example.com, yahoo.example.com
>
>
>
> I need to rewrite
>
> Google.example.com à  www.example.com/site/google
>
> Yahoo.example.com à www.example.com/site/yahoo
>
>
>
> How can I do that?
>

separate server block with rewrite on each blocks



-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org



More information about the nginx mailing list