Sub server Redirection in Nginx

1 post / 0 new
#1 Sun, 09/09/2012 - 12:57
imhawk

Sub server Redirection in Nginx

Hi,

I have create a sub server for my sub domain like "blog.example.com". I want to redirect all the traffic of my main server "example.com" to "blog.example.com". I am using Nginx as the Web Server. Can some please suggest me how can i achieve it ?

Thanks