Configuration for generic $user.domain.tld to $homedir mapping

arabek nginx-forum at nginx.us
Tue Aug 14 08:21:38 UTC 2012


Hi,

I've looked trough the web to find a solution, yet couldn't find
anything suitable.

Currently I'm using Apache, with a UserHostMacro directive
that maps $user.domain.tld to /home/$user/public_html

Is it possible to configure nginx to do the same?
Any hints on how to proceed?

With kind regards,

-- 
Wojtek Arabczyk

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,229679,229679#msg-229679



More information about the nginx mailing list