Re: Nginx redirect domain and sub-domain without www

2013-02-19 Thread Francis Daly
On Tue, Feb 19, 2013 at 04:54:46PM -0500, la_chouette wrote: Hi there, > for saas web application project I need to redirect subdomains to a specific > directory (app-saas /) without the www. > > The domain name must also be without redirecting to the www root. I'm afraid that I don't understan

Nginx redirect domain and sub-domain without www

2013-02-19 Thread la_chouette
Hello, for saas web application project I need to redirect subdomains to a specific directory (app-saas /) without the www. The domain name must also be without redirecting to the www root. Ex. www.domain.tdl to domain.tdl www.sub.domain.tdl to sub.domain.tdl www |-- index.php (domain.tdl,