Hi there!
I am new to nginx and I am figuring out how I can archieve a subdomain catch-all with some kind of VirtualDocumentRoot like I have it in Apache Webserver.
In the nginx conf I added already a subdomain catchall alá "server_name *.test.domain" but I am stuck with the VirtualDocumentRoot pendant part, as long there is something like that in nginx webserver, or how else could I archieve the same behaviour in nginx like in apache webserver?
For those who don't know what I mean: I wanna pass the subdomain automatically into a seperate folder, if I open nginx.test.domain, nginx webserver should pass it into the directory /home/nginx/www/ or if I open test.test.domain it shall pass it to /home/test/www and so on...
For some guidance I want to thank you in advance!
michelangelo