hei guys<br>i want all urls to be re-written as follows:<br><br>xx /host/xx<br><br>xx is the url full path, it should be written as /domain/xx where host is the hostname.<br><br>for example <a href="http://www.abcd.com/" target="_blank">www.ABCD.COM</a><br>

<br>/test?1 ---&gt; /<a href="http://abcd.com/test?1" target="_blank">ABCD.COM/test?1</a><br>is it possible to do this with nginx?<br>thank you!