资 源 简 介
A simple php framework.
How to use in Nginx
```
location /simplephp/ {
if (-f $request_filename) {
expires max;
break;
}
if ($request_filename !~* (public|robots.txt|index.php.*)) {
rewrite ^/simplephp/(.*)$ /simplephp/index.php/$1 last;
}
}
location /simplephp/index.php {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME /var/www/nginx-default/simplephp/index.php;
include fastcgi_params;
}
```
Add this to nginx.conf