Is your virtual host conf file actually like that, or is the last part
ProxyPreserveHost On
<Location /app>
ProxyPass ws://0.0.0.0:8080/app
ProxyPassReverse ws://0.0.0.0:8080/app
</Location>
<Location /apps>
ProxyPass http://0.0.0.0:8080/apps
ProxyPassReverse http://0.0.0.0:8080/apps
</Location>
Inside your <VirtualHost *:443>?