It seems like you’ve isolated the problem pretty specifically. There’s probably some additional configuration to pass to apache.
From a quick google, perhaps the [NE]
flag on your ProxyPassReverse
? RewriteRule Flags - Apache HTTP Server Version 2.4