Server Version#: 1.32.3.7192
Player Version#: All, I guess
I am wondering if Plex supports remote URLs in the form like https://user:password@plex.domain.com/ I think about using caddy as a proxy to allow access outside of the local network. Does anyone has an idea / has already tried it?
No, Plex is not Apache.
And you should never use that style of authentication anyway. Because you will be “spraying” your credentials in clear text across the internet.
Why would you want to use a proxy anyway? 99% of the content your Plex client will be getting from the server is tailored just for this client. The cache in a proxy will not cause any reduction in data volume between server and clients.
Thanks for the reply. The motivation for the proxy is not related to caching, but the question if I want to expose the server directly to the internet or just a proxy that talks to the server.
And Just to clarify: http basic auth is encrypted when using https, and I would expect Plex to respect the protocol that is giving in the remote URL. So it not “spraying” my creditionals anywhere. Also that format is not in any way Apache related, I just used it as a reference as I thought it is most commonly known. Feel free to take a look at RFC 1738.
Anyway, thanks for saving me some time trying this out.
All you’re achieving here is to decrease security. Because in this case you are not only susceptible to potential vulnerabilities of Plex server, but also in the proxy software.
I don’t see how this is relevant to the security aspect.
https is only encrypting the content of the communication. But not its address. With the above approach you are making the credentials part of the URL. Which is used in clear text on the whole data path between client and server. Every proxy, DNS resolver etc. along the way has access to the URL.