server { listen XXXXXX; server_name www.abc.com; if ($request_uri ~* "/haha.php\?qid=(.*)$") { set $growingId $1; rewrite ^/* http://111.111.111.111/haha.php?qid=$growingId? last; } if ($request_uri ~* "/\?qid=(.*)$") { set $growingIdby ccj67 - How to...
http://www.abc.com i need rewrite to http://www.cba.com and http://www.abc.com/?qid=XXXX..... i need rewrite to http://111.111.111.111/?qid=XXXX.... http://www.abc.com/haha.php?qid=XXXX.... i need rewrite to http://111.111.111.111/haha.php?qid=XXXX.... how to config the nginx.conf thank youby ccj67 - How to...
![]() |
![]() |
![]() |
![]() |
|