title: Microservice communication over HTTP for Internal Traffic and Pretty Urls
body: <p>I have two microservices and a website that I am hosting all on the same box in IIS like this:</p>
  
  <p>Default Web Site</p>
  
  <ol>
  <li>Microservice1 - GET /api/values - Needs JWT token</li>
  <li>Microservice2 - GET /api/values/1/objects - Needs JWT Token</li>
  <li>Website</li>
  </ol>
  
  <p>Requirements:</p>
  
  <ol>
  <li>Microservice to microservice communication should be done over HTTP.</li>
  <li>Website to microservice communication should be done over HTTPS.</li>
  <li>Client (non-Website) to the public API should be rate limited.  But traffic from Website to microservice should not be rate limited.</li>
  </ol>
  
  <p>How can I do this? I know of IIS Rate Limiting, ARR, and URL Rewrites but how do I put all of this together? Is there a typical pattern for this type of behavior in microservices hosted on the same box?</p>