rerwrite problem
Edho P Arief
edhoprima at gmail.com
Wed Jan 13 06:16:42 MSK 2010
On Wed, Jan 13, 2010 at 10:10 AM, lnxa <nginx-forum at nginx.us> wrote:
> abc.com/nginx.text rewrite www.abc.com/nginx.text
> service_name abc.com www.atans.com
> if ($host = 'abc.com' ) {
> rewrite ^/(.*)$ http://www.abc.com/$1 permanent;
> }
>
> Is this rewrite rule right?
>
create different server block for each domain
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
More information about the nginx
mailing list