找回密码
 立即注册
首页 程序园 程序 zblog另外一个泛x程序

zblog另外一个泛x程序

新程序 2025-5-12 11:51:20
zblog泛x程序
1.png

伪静态
  1. rewrite ^/(index)\.(html|htm|asp|jsp|php)$ /index.php last;
  2. if (!-e $request_filename) {
  3.   rewrite ^/(.*)\.(htm|html|shtml|asp|jsp|php)$ /index.php last;
  4.   rewrite ^/(.*)$ /index.php?id1=$1;
  5. }
  6. location ~ /(data)/.*\.txt$ {
  7.   deny all;
  8. }location ~* (runtime|application)/{
  9.         return 403;
  10. }
  11. location / {
  12.         if (!-e $request_filename){
  13.                 rewrite  ^(.*)$  /index.php?s=$1  last;   break;
  14.         }
  15. }
复制代码
回复即可下载

游客,如果您要查看本帖隐藏内容请回复


4 天前

举报

看看这个是啥
您需要登录后才可以回帖 登录 | 立即注册