So ive managed to completely run plex behind cloudflare, including proxying of media and metadata.
However, the events page is not able to get a connection using the sample wss rules i found online;
Using apache
<Location /:/websockets/notifications>
ProxyPass wss://localhost:32400/:/websockets/notifications
ProxyPassReverse wss://localhost:32400/:/websockets/notifications
</Location>
If i proxy the websocket using:
ProxyPass /:/ ws://localhost:32400/:/
ProxyPassReverse /:/ ws://localhost:32400/:/
Events work, but server settings stop working and changing watched/unwatched status breaks.
Any apache pros in here that can explain why the websocket rule specifically designed for the websocket requests at websockets/notifications is not functioning, but the pagewide one is?.
I assume if i can proxy only the wss from the notifications requests, that i have a fully working setup, this is the last issue i have.