nginx
#请复制下面伪静态配置到nginx配置文件中:
#规则适合PbootCMS V2.0+版本
location / {
if (!-e $request_filename){
rewrite ^/(.*)$ /index.php?p=$1 last;
}
}
分享服务器维护、抵抗入侵、防篡改、防御攻击、排查后门木马、清理挖矿病毒、网络安全、信息安全、内网安全、数据灾备、网站搬迁、程序升级、威胁情报、网站安全运维的日常知识
nginx
#请复制下面伪静态配置到nginx配置文件中:
#规则适合PbootCMS V2.0+版本
location / {
if (!-e $request_filename){
rewrite ^/(.*)$ /index.php?p=$1 last;
}
}