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

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: