Nginx for Windows Buggy Path Setting (Kevin Worthington Port)


nginx bases the root directory into the hardcoded path

/cygdrive/c/nginx/
even if you don't have Cygwin installed
There is a workaround, though, to use relative directory paths:

    location / {
        root   ../www;
    }

This will get you the root directory set to c:\www, if nginx lives in C:\nginx.


to download cygwin version of nginx visit:
http://www.kevinworthington.com/nginx-for-windows/

thanks kevin for stopping by :)

source:
http://thread.gmane.org/gmane.comp.web.nginx.english/8737/focus=9635