2012年4月9日

CI + NGINX URL重写规则

摘要: server {listen 8020;root /u/game/html/BCenter/;index index.php index.html index.htm;location / {if (-f $request_filename) {expires max;break;}if (!-e $request_filename) {rewrite ^/(.*)$ /index.php/$1 last;}}location = /50x.html {root /var/www/nginx-default;}location /index.php {fastcgi_pass 127.0.0. 阅读全文

posted @ 2012-04-09 22:01 VirtualLife 阅读(556) 评论(0) 推荐(0)

导航