nginx 配置文件

server
{
    listen 80;
    charset utf-8;
    server_name  xxxx.xxxx.com;
    root /usr/share/nginx/html/cube;
    index index.php index.html login.html;
    autoindex on;
    autoindex_exact_size off;
 llangic1014   autoindex_localtime off;
    location /ops {
        try_files $uri $uri/ /ops/index.php;
    }
    location /deyuan {
        try_files $uri $uri/ /deyuan/index.php;
    }

    location ~ \.php$ {
        index index.php;
        fastcgi_pass    127.0.0.1:9000;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        fastcgi_index    index.php;
        include    fastcgi_params;
        fastcgi_buffers 8 128k;
    }


}