More subdomain mapping (dynamic 'root'?)

Frank Louwers frank at openminds.be
Fri Jul 3 16:56:42 MSD 2009


On 03 Jul 2009, at 12:42, miradev wrote:
>>
>
> You are building one config file per client - you have '/home/ 
> customer/sites/' hard coded? I'm confused, sorry.

Yes, it's a dedicated server for a customer.

>
> With my example (http://cnn.admin.domain.com/www.cnnminiblog.com) I  
> would end up in
> /home/customer/sites/cnn.admin.domain.com/public/www.cnnminiblog.com
>
> I'd like the public folder inside the domain, so like this:
> /home/cnn/sites/www.cnnminiblog.com/public

Can you give an example of two urls and the docroot you'd want them to  
use?

Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090703/353521fe/attachment.html>


More information about the nginx mailing list