server { listen 80; server_name wecenter; location / { root /home/www/wecenter/upload; index index.php; if (!-e $request_filename){ rewrite ^/(.*)$ /index.php last; } } location ~ .*\.(php|php5)?$ { include /usr/local/nginx/conf/fastcgi.conf; } location ~ .*.(htm|html|gif|jpg|jpeg|png|bmp|swf|ioc|rar|zip|txt|flv|mid|doc|ppt|pdf|xls|mp3|wma)$ { expires 30d; } location ~ .*.(js|css)?$ { expires 1h; } }安装其他程序都没问题,这个程序太日白了
这家伙很懒,还没有设置简介