I have a proxy setup on an Apache 2.4 (Server A) as follows
SSLProxyEngine On ProxyRequests Off ProxyPreserveHost On ProxyHTMLInterp On ProxyHTMLExtended On SSLProxyVerify none SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off <Location /proxy> ProxyPass https://example.com ProxyPassReverse https://example.com SetOutputFilter proxy-html ProxyHTMLURLMap https://example.com </Location>
Server B (example.com in this example) has a rewrite rule:
RewriteRule ^/?$ /subdir [L]
My question is how can I setup Server A's proxy to preserve the /proxy in the url?