部署环境
Nginx/Apache,推荐Nginx
建议PHP7.4
Mysql5.6+PHP
部署教程
将52DH Pro压缩包上传到网站运行根目录
配置伪静态规则
访问域名安装 按照页面引导,填写必要的信息
后台地址:http(s)://域名/你安装时设置的后台入口
默认账号:admin
默认密码:123456
Nginx伪静态
rewrite ^/index.html$ /index.php last;
rewrite ^/about.html$ /about.php last;
rewrite ^/search.html$ /search.php last;
rewrite ^/ranking.html$ /ranking.php last;
rewrite ^/apply.html$ /apply.php last;
rewrite ^/404.html$ /404.php last;
rewrite ^/category/([1-9]+[0-9]*).html$ /category.php?id=$1 last;
rewrite ^/category/([a-zA-Z0-9_-]+).html$ /category.php?alias=$1 last;
rewrite ^/site/([1-9]+[0-9]*).html$ /site.php?id=$1 last;
rewrite ^/site/([a-zA-Z0-9_-]+).html$ /site.php?alias=$1 last;
rewrite ^/article.html$ /article.php last;
rewrite ^/article-list-([1-9]+[0-9]*).html$ /article_list.php?id=$1 last;
rewrite ^/article-([1-9]+[0-9]*).html$ /article_show.php?id=$1 last;
rewrite ^/img/favicon/(.*)$ /favicon.php?url=$1 last;
rewrite ^/img/favicon/(.*).png$ /favicon.php?url=$1 last;
rewrite ^/img/preview/(.*).png$ /preview.php?url=$1 last;
location ~ "^/img/favicon/([^/]+)/?.png$" {
try_files /$uri /$uri/ /favicon.php?url=$1;
}
location ~ "^/img/preview/([^/]+)/?.png$" {
try_files /$uri /$uri/ /preview.php?url=$1;
}


© 版权声明
THE END








![重磅更新:血清合成器2完整版]Xfer Records Serum v2.0.16 FULL-VR Rev4/V.R_TCD/Audoiwarez [WiN](1.2GB+)-果果资源网](https://dj.paypey.top/wp-content/uploads/2025/03/8FFQ29DGVCBTJU7.png)






暂无评论内容