博客首页|TW首页| 同事录|业界社区

server {
listen       80;
server_name localhost;
root   /data/www/mywp;

access_log  /data/logs/mywp.log  main;

location / {
index  index.php index.html index.htm index.shtml;
}

location ~ \.php(/|$) {
include        fastcgi.conf ;
}

location ~ .*\.(gif|jpg|jpeg|png|bmp)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 1h;
}
}


上一篇: VI 常用命令
下一篇:今晚得分

12条评论

  1. I apologise, but, in my opinion, you commit an error. Let’s discuss. Write to me in PM, we will communicate.

    P.S. Please review Desktop Business Icons from ahasofticons

发表评论