新程序 发表于 2025-5-12 11:51:20

zblog另外一个泛x程序

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=$1last;   break;
        }
}回复即可下载

**** Hidden Message *****

nooage 发表于 5 天前

看看这个是啥
页: [1]
查看完整版本: zblog另外一个泛x程序