site redirect

John Griffiths lists at ruby-forum.com
Wed Dec 19 15:24:03 MSK 2007


Eden Li wrote:
> server {
>   listen 80;
>   server_name mob.red91.com;
>   rewrite /(.*) http://red91rails.mofuse.mobi/$1 redirect;
> }

perfect!

works like a charm, thanks so much Eden Li,

Your the best!
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list