更新新增了本地cdn的设置,无需去购买其他的本地cdn资源包,去除了字节cdn
搭建教程:测试环境 nginx 1.20 php7.4 mysql5.6
1.上传源码解压
2.设置伪静态
location / {
if (!-e $request_filename) {
rewrite ^/(.[a-zA-Z0-9\-\_]+).html$ /index.php?mod=$1 last;
}
rewrite ^/pay/(.*)$ /pay.php?s=$1 last;
rewrite ^/api/(.*)$ /api.php?s=$1 last;
rewrite ^/doc/(.[a-zA-Z0-9\-\_]+).html$ /index.php?doc=$1 last;
}
location ^~ /plugins {
deny all;
}
location ^~ /includes {
deny all;
}
3.安装即可
4.访问后台 域名/admin
演示图片:
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容