Nginx redirects

Posted by Ibrahim Hussein on Server Fault See other posts from Server Fault or by Ibrahim Hussein
Published on 2010-06-10T21:39:12Z Indexed on 2010/06/10 21:43 UTC
Read the original article Hit count: 427

Filed under:
|

Let's say i have a virtual host in Nginx wtih name www.domain.com and root directory named public. Inside public i have 2 dirs dir1 and dir2. How i redirect the request to www.domain.com to dir1? I know it's a simple question, but i am new to nginx.

© Server Fault or respective owner

Related posts about nginx

Related posts about redirect