当前位置:首页 >辅助 >Nginx下Chevereto伪静态规则_炉石传说官网 正文

Nginx下Chevereto伪静态规则_炉石传说官网

来源:辅助科技网   作者:辅助工具   时间:2026-07-22 06:04:50

正文

Chevereto 是静态目前最为强大的 PHP 图床系统,通过它可部署多用户公开或私有的规则炉石传说官网图片存储服务,现在 Chevereto 出了免费的静态炉石传说牧师新卡版本 ,小伙伴可以围观一下https://github.com/Chevereto/Chevereto-Free

Chevereto 默认提供基于 Apache 环境的规则炉石传说牧师新卡公布静态规则,如果服务器是静态炉石科技官网 Nginx 的话 ,可以使用下面的规则炉石传说星舰牧伪静态规则

location / {
if(-f $request_filename/<a target="_blank" href="https://www.kaiyuanyuanma.com/tag/456.html" title="View all posts in index">index</a>.html){
rewrite(.*) $1/index.html break;
}
if(-f $request_filename/index.php){
rewrite(.*) $1/index.php;
}
if(!-f $request_filename){
rewrite(.*) /index.php;
}
try_files $uri $uri/ /api.php;
}
location /admin {
try_files $uri /admin/index.php?$args;
}
location / {    if (-f $request_filename/index.html){        rewrite (.*) $1/index.html break;    }    if (-f $request_filename/index.php){        rewrite (.*) $1/index.php;    }    if (!-f $request_filename){        rewrite (.*) /index.php;    }    try_files $uri $uri/ /api.php;}location /admin {    try_files $uri /admin/index.php?$args;}
location / { if (-f $request_filename/index.html){ rewrite (.*) $1/index.html break; } if (-f $request_filename/index.php){ rewrite (.*) $1/index.php; } if (!-f $request_filename){ rewrite (.*) /index.php; } try_files $uri $uri/ /api.php;}location /admin { try_files $uri /admin/index.php?$args;}

 

内容校验完了

标签:

责任编辑:玩家热帖