<div dir="ltr"><div>Hi, <br><br><br></div><div>there are multiple apache redirection rules that were working successfully. <br>for example something like this<br><br>Redirect 301 /aaaa/bbbbbbb /aaaaa/bbbbbb.html<br></div><div><br></div><div>Now i have converted this rule in nginx like this <br><br></div><div>location /aaaa/bbbbbbbb {<br>rewrite ^(.*)$ /aaaa/bbbbbbbbbb.html redirect;<br>}<br><br><br></div><div>i also tried adding "permanent" and rewrite line but also didn;t wrok. <br><br></div><div>now all redirection rules are keep giving error "redirection loops". <br></div><div>and when i disable the rule things back to normal. there is no duplication happening as far as config is concern. i can confirm. <br></div><div><br></div><div>can you guys please advice how can i troubleshoot this and fix the issue.<br><br></div><div>your friendly advice is highly appreciated.<br><br></div><div>Thanks,<br></div><div>Yousuf<br></div></div>