I've recently installed PLEX Media Server on my server but i have some dificulties to hide it behind an Apache proxy...
I've found this vhost configuration to allow a subdomain based access to PLEX (eg: plex.example.com). My problem is that I don't want to create a specific subdomain, so I would prefer make a (transparent) URL based redirection like this :
My PLEX server URL : http://example.com:32400/web/index.html
What I want : https://example.com/plex/index.html
I tried the following vhost configuration :
<VirtualHost *:443>
ServerName example.com
ProxyRequests off
ProxyPreserveHost On
ProxyPassMatch ^/plex/(.*)$ http://localhost:32400/web/$1
ProxyPassReverse /web http://localhost:32400/web
</VirtualHost>
But it doesn't work properly.