title: URL Rewrite to different port based on condition
body: <p>I have a site that is something like this:</p>
  
  <pre><code>https://www.website.org/cms
  </code></pre>
  
  <p>I have an application that's running on another service on the same server on a different port that I want to have accessible over this URL:</p>
  
  <pre><code>https://www.website.org/dashboard
  </code></pre>
  
  <p>the dashboard site is accessible from the server using <code>http://localhost:8081/dashboard</code></p>
  
  <p>How can I use URL Rewrite to make this happen?</p>