This commit is contained in:
2022-03-21 11:16:38 +08:00
commit e89e807c64
1040 changed files with 284164 additions and 0 deletions

25
public/nginx.htaccess Normal file
View File

@@ -0,0 +1,25 @@
rewrite ^/prd-(.*)-(.*).html /api/platform.php?s=Platform.PRD_PRD.Jump&id=$2&ak=$1 last; # prd jump
rewrite ^/url-(.*)-(.*).html /api/platform.php?s=Platform.Urls.Jump&id=$2&ak=$1 last; # url jump
# ???????
if (!-e $request_filename) {
rewrite ^/admin/(.*) /admin/index.html;
}
if (!-e $request_filename) {
rewrite ^/platform/(.*) /platform/index.html;
}
#??????????
if (!-e $request_filename) {
rewrite ^/m/(.*) /m/index.html;
}
#???????????????-----??????3????????id, ???????,??????
if ($request_uri ~* checkjump$) {
rewrite ^/(.*)$ /api/platform.php?s=Platform.MiddleJump_MiddleJump.CopyJump&id=$arg_id&jump_key=$arg_jump_key redirect;
# rewrite ^/(.*)$ /host/$arg_projectDetaid permanent;
}