1,伪静态规则:
location /qp_host/ {
if (!-e $request_filename){
rewrite ^/qp_host/(.*)$ /qp_host/index.php?s=$1 last;
}
}
location /qp_ht/ {
if (!-e $request_filename){
rewrite ^/qp_ht/(.*)$ /qp_ht/index.php?s=$1 last;
}
}
location /qp_down/ {
if (!-e $request_filename){
rewrite ^/qp_down/(.*)$ /qp_down/index.php?s=$1 last;
}
}
2,网站更改,和数据库端口3308(根据自己数据库端口去改)
Desktop\default\qp_host\Mobile\Admin\Common\function.php
Desktop\def