zblog泛x程序
伪静态
- rewrite ^/(index)\.(html|htm|asp|jsp|php)$ /index.php last;
- if (!-e $request_filename) {
- rewrite ^/(.*)\.(htm|html|shtml|asp|jsp|php)$ /index.php last;
- rewrite ^/(.*)$ /index.php?id1=$1;
- }
- location ~ /(data)/.*\.txt$ {
- deny all;
- }location ~* (runtime|application)/{
- return 403;
- }
- location / {
- if (!-e $request_filename){
- rewrite ^(.*)$ /index.php?s=$1 last; break;
- }
- }
复制代码 回复即可下载
|