<div dir="ltr"><div style="color:rgb(29,29,29);font-family:Calibri;font-size:16px">Dear Community,</div><div style="color:rgb(29,29,29);font-family:Calibri;font-size:16px"><br></div><div style="color:rgb(29,29,29);font-family:Calibri;font-size:16px">I would like to reverse proxy the following:</div><div style="color:rgb(29,29,29);font-family:Calibri;font-size:16px"><br></div><div style="color:rgb(29,29,29);font-family:Calibri;font-size:16px"><a href="https://test.us/citizensolutions/AB">https://test.us/citizensolutions/AB</a><b> to  </b>https://<b>AB</b>.<a href="http://test.us/">test.us/</a> and all the subdirectories so that</div><div style="color:rgb(29,29,29);font-family:Calibri;font-size:16px">all files like <a href="https://test.us/citizensolutions/AB/css/*.css">https://test.us/citizensolutions/AB/css/*.css</a> reverse proxy  to https://<b>AB</b>.<a href="http://test.us/css/*.css">test.us/css/*.css</a><br></div><div style="color:rgb(29,29,29);font-family:Calibri;font-size:16px"><br></div><div style="color:rgb(29,29,29);font-family:Calibri;font-size:16px">AB in the above example can be any dynamic input that nginx needs to treat as a variable.</div><div style="color:rgb(29,29,29);font-family:Calibri;font-size:16px"><br></div><div style="color:rgb(29,29,29);font-family:Calibri;font-size:16px">Can you please advise how to achieve this?</div><div style="color:rgb(29,29,29);font-family:Calibri;font-size:16px"><br></div><div style="color:rgb(29,29,29);font-family:Calibri;font-size:16px">Thanks</div><div style="color:rgb(29,29,29);font-family:Calibri;font-size:16px">Alex</div></div>