3.8.1
This commit is contained in:
25
public/nginx.htaccess
Normal file
25
public/nginx.htaccess
Normal 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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user