Setting root based on Host: header

Samuel Vogel samydelux at
Mon Oct 20 01:00:06 MSD 2008

Hey guys,

Could somebody tell me how I would set the "root"-Variable based up on 
the contents of the Host: Header?
I have a host header like this:

I would like to construct a root like this: /www/345232


More information about the nginx mailing list