THINKPHP 3.2 在nginx下支持 pathinfo

# 'URL_MODEL'          => '2'

# 在server段location /加载此内容

location / { 

    if (!-e $request_filename) { 

        rewrite  ^(.*)$  /index.php?s=$1  last; 

        break;   

    } 

}

猜你喜欢

转载自wyqjx.iteye.com/blog/2170070