title: Routing requests using cloudflare to different web applications
body: <p>I currently have two web apps that are set up in cloudflare with the following CNAMEs. Both are keystonejs applications.</p>
  
  <pre><code>app1.example.com ===pointing to ===&gt; AWS ALB 1
  app2.example.com ===pointing to ===&gt; AWS ALB 2
  </code></pre>
  
  <p>I have Cloudflare Enterprise set up, so i'm able to use the "Render Override" feature in my page rules. I have 2 page rules set up using the following:</p>
  
  <pre><code>www.example.com ===render override ===&gt; app1.example.com
  www.example.com/app2/* ===render override ===&gt; app2.example.com
  </code></pre>
  
  <p>Now in order to access the keystonejs application on app2.example.com. The application is called using app2.example.com/pa</p>
  
  <p>The problem that i'm facing is that render override doesnt allow me to use sub paths, and i do not want to use the forwarding rule. Do i need to make my keystone application accessible through the root url, namely app2.example.com/ ? or is there another way to do this? Otherwise, would i need to use a reverse proxy? such as nginx ?
  Thanks</p>