server {
listen 80;
server_name api.zhaisoft.com;
index index.html index.htm index.php;
root /alidata/www/api.zhaisoft.com;

try_files $uri $uri/ /index.php?$args;
location ~ .*\.(php|php5)?$
{
#fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 1h;
}
#Œ±æ≤èπÊ‘Ú
include /alidata/server/nginx/conf/rewrite/default.conf;
access_log /alidata/log/nginx/access/1314.foreverlove.log;
}