2013-03-25 2 views

답변

0

할 수 있습니다 다음 코드를 시도 :

우리가 더 나은 사용
location/{ 

root /cygdrive/d/www/; # '/cygdrive/d/' equal to 'D:\' in Nginx under Cygwin 
      index index.html index.htm;    
} 

우리가 http://www.#yours.com/newsA/에 대한 D:\www\newsB\을 설정하려면, alias 또는 Nginx와의 rewrite 지시, 같은 :

location /newsA/ { 

alias /cygdrive/d/www/newsB/; 

} 
관련 문제