Configure Apache with multiple ProxyPass : <p>i am trying to configure my apache server as proxy to serve two internal services , one listening on 8080 and should receive traffic on specific URL and the other listening on 8077 and should receive all other http traffic</p>

<p>I deployed and configured apache on the same server where these two services running and it is listening to 443 along with all SSL configuration and it is working fine</p>

<p>also I enabled the proxy_module, proxy_http_module and proxy_http2_module</p>

<p>What I want to achieve </p>

<p>if the requested URL is /webhook1 --> pass it to EP1 <a href="http://localhost:8080" rel="noreferrer">http://localhost:8080</a> and 
any other requested URL should be passed to EP2 <a href="http://localhost:8077" rel="noreferrer">http://localhost:8077</a></p>

<p>My Current Configuration towards the first service </p>

<pre><code>ProxyPass /webhook1  http://localhost:8080
ProxyPassReverse /webhook1 http://localhost:8080
</code></pre>

<p>Now I want to define another proxy pass to be something like</p>

<pre><code>ProxyPass /  http://localhost:8077
ProxyPassReverse / http://localhost:8077
</code></pre>

<p>putting both configuration together is not working , appreciate your help in how to configure apache to achieve my requirement</p>

<p>Thank you in advance</p>
