Multiple vhosts

I have tried to follow this but
it didn’t really worked for me.
I want to have 2 domains on my nginx server
one which will have root in c:www/x
and one which will have root in C:/www/
well I have been trying to make it work properly for hour but failed
:<so trying to get some help here

Posted at Nginx Forum:,188059,188059#msg-188059


http {
index index.html;

server {
access_log logs/domain1.access.log main;

root /www/;


server {
access_log logs/domain2.access.log main;

root /www/x;


Posted at Nginx Forum:,188059,188587#msg-188587